YanSeven

vscode 插件求推荐,高亮代码注释中的 Note

  •  
  •   YanSeven · Apr 11, 2025 · 1817 views
    This topic created in 461 days ago, the information mentioned may be changed or developed.
    TODO+插件可以罗列出所有的 Note 和 TODO(我目前就用到了这俩,其他的没关注)来统一索引。
    然后 TODO Highlight 插件可以在代码里面高亮 TODO 标签。
    但是 Note:虽然能被 TODO+索引,但是在代码里面就没有办法高亮了。
    V 友有这个场景吗。
    2 replies    2025-08-14 16:12:57 +08:00
    orrinex
        1
    orrinex  
       Apr 14, 2025
    我用的是这个插件: https://marketplace.visualstudio.com/items/?itemName=Gruntfuggly.todo-tree

    我看了下配置,可以自定义:
    ```
    "todo-tree.highlights.defaultHighlight": {
    "icon": "alert",
    "type": "text",
    "foreground": "red",
    "background": "white",
    "opacity": 50,
    "iconColour": "blue"
    },
    "todo-tree.highlights.customHighlight": {
    "TODO": {
    "icon": "check",
    "type": "line"
    },
    "FIXME": {
    "foreground": "black",
    "iconColour": "yellow",
    "gutterIcon": true
    }
    }
    ```
    YanSeven
        2
    YanSeven  
    OP
       Aug 14, 2025
    @Wilson233 感谢,用了配置文件确实不错。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3124 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 14:00 · PVG 22:00 · LAX 07:00 · JFK 10:00
    ♥ Do have faith in what you're doing.