当前位置:网站首页>[vscode]todo tree a to-do plug-in

[vscode]todo tree a to-do plug-in

2022-06-13 00:12:00 PowerDon

[VSCode]Todo Tree A to-do plug-in

Todo

Tree A to-do plug-in
When we write programs , There will inevitably be some situations that need to be marked or shelved , When writing code, you will use some special comments to represent different contents , So that we can quickly locate the location of our comments .

There are mainly the following :

TODO: Used to mark to-do places . Often in some places , Our function has not been realized , Use ToDo Tagging allows us to quickly locate what needs to be implemented .

HACK: Used to mark places that may need to be changed . When writing code , In some places we are not sure that he is right , May change in the future , You can use it HACK Mark .

NOTE: Add some descriptive text .

INFO: Used to express some information .

TAG: Used to create some tags .

XXX: It is used to mark some hasty places . When writing code , Some places need to be modified frequently , Use at this time XXX Mark .

BUG: Used to mark BUG~

FIXME: It is used to mark some positions that need to be repaired , Can quickly locate .

Here are some of my colors :( The left side can be quickly located by clicking )

 Example

Configuration code :( Search directly in settings todo tree, Then choose any one that can open setting.json The option to , Just copy it and overwrite it )

  "todo-tree.tree.showScanModeButton": false,
  "todo-tree.filtering.excludeGlobs": ["**/node_modules", "*.xml", "*.XML"],
  "todo-tree.filtering.ignoreGitSubmodules": true,
  "todohighlight.keywords": [
  ],
  "todo-tree.tree.showCountsInTree": true,
  "todohighlight.keywordsPattern": "TODO:|FIXME:|NOTE:|\\(([^)]+)\\)",
  "todohighlight.defaultStyle": {
    

  },
  "todohighlight.isEnable": false,
  "todo-tree.highlights.customHighlight": {
    
    "BUG": {
    
      "icon": "bug",
      "foreground": "#F56C6C",
      "type": "line"
    },
    "FIXME": {
    
      "icon": "flame",
      "foreground": "#FF9800",
      "type":"line"
    },
    "TODO":{
    
      "foreground": "#FFEB38",
      "type":"line"
    },
    "NOTE":{
    
      "icon": "note",
      "foreground": "#67C23A",
      "type":"line"
    },
    "INFO":{
    
      "icon": "info",
      "foreground": "#909399",
      "type":"line"
    },
    "TAG":{
    
      "icon": "tag",
      "foreground": "#409EFF",
      "type":"line"
    },
    "HACK":{
    
      "icon": "versions",
      "foreground": "#E040FB",
      "type":"line"
    },
    "XXX":{
    
      "icon": "unverified",
      "foreground": "#E91E63",
      "type":"line"
    }
  },
  "todo-tree.general.tags": [
    "BUG",
    "HACK",
    "FIXME",
    "TODO",
    "INFO",
    "NOTE",
    "TAG",
    "XXX"
  ],
  "todo-tree.general.statusBar": "total",
原网站

版权声明
本文为[PowerDon]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202280602300337.html