1. "todo-tree.tree.showScanModeButton": true,
    2. //todo-tree settings
    3. // //Globs,用于通过排除限制搜索结果(在**includeGlobs**之后应用),例如`["**/*.txt"]`忽略所有.txt文件
    4. "todo-tree.filtering.excludeGlobs": [
    5. "/**/node_modules/"
    6. ],
    7. //在树中显示待办事项的计数
    8. "todo-tree.tree.showCountsInTree": true,
    9. // 在树形视图标题上显示一个按钮,以在仅扫描打开的文件或整个工作区之间进行切换。
    10. "todo-tree.tree.scanMode": "workspace",
    11. // "todo-tree.tree.showScanOpenFilesOrWorkspaceButton": true,
    12. // "todo-tree.regex.regex": "(/\\*)\\s*($TAGS).*(\\n\\s*(//|/\\*|\\*\\*)\\s{2,}.*)*",
    13. "todo-tree.regex.regex": "((//|#|<!--|;|/\\*|\\*|^)\\s*($TAGS)|^\\s*- \\[ \\])",
    14. "todo-tree.general.tags": [
    15. "TODO_TREE",
    16. "FIXME_TREE",
    17. "TAG_TREE",
    18. "DONE_TREE",
    19. "NOTE_TREE",
    20. "WARN_TREE"
    21. ],
    22. "todo-tree.regex.regexCaseSensitive": false,
    23. //在资源管理器视图中显示树
    24. "todo-tree.tree.showInExplorer": true,
    25. //树项的格式 ${filename} ${line}, ${column}, ${tag}, ${before} ${after}
    26. "todo-tree.tree.labelFormat": "${tag}",
    27. // 突出显示标签是可配置的。使用 todo-tree.highlights.defaultHighlight 设立亮点所有标签。defaultHighlight,customHighlight,允许使用使用以下值
    28. "todo-tree.highlights.defaultHighlight": {
    29. // 注意:前景和背景颜色可以是“红色”,“绿色”,“蓝色”,“黄色”,“洋红色”,“青色”,“灰色”,“白色”或“黑色”之一。也可以使用RGB值(例如“#80FF00”)。您还可以使用当前主题的颜色,例如peekViewResult.background。
    30. "foreground": "peekViewResult.background", // foreground -用于在编辑器中设置高光和标尺中的标记的前景色。
    31. "background": "yellow", // background -用于在编辑器中设置突出显示的背景颜色。
    32. "opacity": "100", // opacity-与背景色一起使用的百分比值。100%会产生不透明的背景,这会模糊选择和其他装饰。注意:使用主题颜色时,不透明度将被忽略。
    33. // fontWeight,fontStyle,textDecoration-可以用来风格,标准的CSS值的亮点
    34. // borderRadius -用于设置高光背景的边框半径。
    35. "icon": "todo-tree", // 参见这个页面,如果是 <%= octicon "alert" %> 一个图标 name下面就写 alert ,icon-用于在树状视图中设置其他图标。必须是有效的octicon(请参阅https://octicons.github.com/)。如果无效,则默认为刻度。如果要使用活动视图中的图标,也可以使用“ todo-tree”或“ todo-tree-filled”。
    36. // "rulerColour": "yellow",//rulerColour-用于设置右侧拖动条中标记的颜色。如果未指定,它将使用前景色。
    37. "type": "tag",
    38. "iconColour": "yellow",
    39. },
    40. // 如果您需要不同地配置各个标签,请使用 todo-tree.highlights.customHighlight
    41. "todo-tree.highlights.customHighlight": {
    42. "TODO_TREE": {
    43. // "foreground": "#ff9900",
    44. "background": "yellow",
    45. "icon": "check",
    46. "iconColour": "yellow",
    47. // rulerColour-用于设置右侧拖动条中标记的颜色。如果未指定,它将使用前景色(foreground)。
    48. "rulerColour": "yellow",
    49. // rulerLane 用于在右侧拖动条中设置标记的车道。如果未指定,它将默认为右侧车道。使用 left , center , right 或 full 之一。您也可以使用 none 禁用标尺标记。
    50. "rulerLane": "full",
    51. },
    52. "FIXME_TREE": {
    53. "background": "#FF0000",
    54. "icon": "beaker",
    55. "rulerColour": "#FF0000",
    56. "iconColour": "#FF0000",
    57. "rulerLane": "full"
    58. },
    59. "TAG_TREE": {
    60. "background": "#317DD5",
    61. "icon": "tag",
    62. "rulerColour": "#317DD5",
    63. "iconColour": "#317DD5",
    64. "rulerLane": "full"
    65. },
    66. "NOTE_TREE": {
    67. "background": "#E6E6E6",
    68. "icon": "note",
    69. "rulerColour": "#E6E6E6",
    70. "iconColour": "#E6E6E6",
    71. "rulerLane": "full"
    72. },
    73. "DONE_TREE": {
    74. "background": "#7FBA00",
    75. "icon": "issue-closed",
    76. "rulerColour": "#7FBA00",
    77. "iconColour": "#7FBA00",
    78. "rulerLane": "full"
    79. },
    80. "WARN_TREE": {
    81. // 侧边设置
    82. "icon": "alert",
    83. "iconColour": "#E63900",
    84. // 文档内容设置
    85. "background": "#E63900",
    86. "rulerColour": "#E63900",
    87. "rulerLane": "full",
    88. }
    89. },