ctrl+shift+p filters: :st2 :st3 :win :osx :linux
浏览

彩色注释

彩色注释是一个 SublimeText 插件,用于提供注释着色功能。

标签 着色, 颜色, 注释

详细信息

  • 3.0.4
    3.0.3
  • github.com
  • github.com
  • 3年前
  • 2小时前
  • 4年前

安装

  • 总计 4K
  • Win 3K
  • Mac 762
  • Linux 852
8月6日 8月5日 8月4日 8月3日 8月2日 8月1日 7月31日 7月30日 7月29日 7月28日 7月27日 7月26日 7月25日 7月24日 7月23日 7月22日 7月21日 7月20日 7月19日 7月18日 7月17日 7月16日 7月15日 7月14日 7月13日 7月12日 7月11日 7月10日 7月9日 7月8日 7月7日 7月6日 7月5日 7月4日 7月3日 7月2日 7月1日 6月30日 6月29日 6月28日 6月27日 6月26日 6月25日 6月24日 6月23日 6月22日
Windows 1 4 1 4 0 2 1 0 2 2 0 2 0 1 0 0 1 0 0 0 0 3 1 0 0 2 1 0 1 1 0 1 1 0 2 0 2 0 0 1 0 1 7 2 0 2
Mac 1 2 0 0 0 1 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0
Linux 0 0 0 0 2 0 0 0 1 0 0 1 1 0 1 0 0 1 0 0 0 0 2 0 0 2 0 1 0 0 1 1 0 1 0 0 0 0 0 1 0 0 0 0 0 0
024688月6日8月3日7月31日7月28日7月25日7月22日7月19日7月16日7月13日7月10日7月7日7月4日7月1日6月28日6月25日6月22日8月6日 Linux: 0 Mac: 1 Windows: 18月5日 Linux: 0 Mac: 2 Windows: 48月4日 Linux: 0 Mac: 0 Windows: 18月3日 Linux: 0 Mac: 0 Windows: 48月2日 Linux: 2 Mac: 0 Windows: 08月1日 Linux: 0 Mac: 1 Windows: 27月31日 Linux: 0 Mac: 0 Windows: 17月30日 Linux: 0 Mac: 0 Windows: 07月29日 Linux: 1 Mac: 1 Windows: 27月28日 Linux: 0 Mac: 0 Windows: 27月27日 Linux: 0 Mac: 0 Windows: 07月26日 Linux: 1 Mac: 0 Windows: 27月25日 Linux: 1 Mac: 1 Windows: 07月24日 Linux: 0 Mac: 0 Windows: 17月23日 Linux: 1 Mac: 0 Windows: 07月22日 Linux: 0 Mac: 0 Windows: 07月21日 Linux: 0 Mac: 0 Windows: 17月20日 Linux: 1 Mac: 0 Windows: 07月19日 Linux: 0 Mac: 0 Windows: 07月18日 Linux: 0 Mac: 0 Windows: 07月17日 Linux: 0 Mac: 0 Windows: 07月16日 Linux: 0 Mac: 0 Windows: 37月15日 Linux: 2 Mac: 0 Windows: 17月14日 Linux: 0 Mac: 0 Windows: 07月13日 Linux: 0 Mac: 2 Windows: 07月12日 Linux: 2 Mac: 0 Windows: 27月11日 Linux: 0 Mac: 0 Windows: 17月10日 Linux: 1 Mac: 0 Windows: 07月9日 Linux: 0 Mac: 0 Windows: 17月8日 Linux: 0 Mac: 1 Windows: 17月7日 Linux: 1 Mac: 0 Windows: 07月6日 Linux: 1 Mac: 0 Windows: 17月5日 Linux: 0 Mac: 0 Windows: 17月4日 Linux: 1 Mac: 0 Windows: 07月3日 Linux: 0 Mac: 0 Windows: 27月2日 Linux: 0 Mac: 0 Windows: 07月1日 Linux: 0 Mac: 0 Windows: 26月30日 Linux: 0 Mac: 0 Windows: 06月29日 Linux: 0 Mac: 0 Windows: 06月28日 Linux: 1 Mac: 0 Windows: 16月27日 Linux: 0 Mac: 0 Windows: 06月26日 Linux: 0 Mac: 0 Windows: 16月25日 Linux: 0 Mac: 1 Windows: 76月24日 Linux: 0 Mac: 0 Windows: 26月23日 Linux: 0 Mac: 0 Windows: 06月22日 Linux: 0 Mac: 0 Windows: 28月6日 Linux: 0 Mac: 1 Windows: 18月5日 Linux: 0 Mac: 2 Windows: 48月4日 Linux: 0 Mac: 0 Windows: 18月3日 Linux: 0 Mac: 0 Windows: 48月2日 Linux: 2 Mac: 0 Windows: 08月1日 Linux: 0 Mac: 1 Windows: 27月31日 Linux: 0 Mac: 0 Windows: 17月30日 Linux: 0 Mac: 0 Windows: 07月29日 Linux: 1 Mac: 1 Windows: 27月28日 Linux: 0 Mac: 0 Windows: 27月27日 Linux: 0 Mac: 0 Windows: 07月26日 Linux: 1 Mac: 0 Windows: 27月25日 Linux: 1 Mac: 1 Windows: 07月24日 Linux: 0 Mac: 0 Windows: 17月23日 Linux: 1 Mac: 0 Windows: 07月22日 Linux: 0 Mac: 0 Windows: 07月21日 Linux: 0 Mac: 0 Windows: 17月20日 Linux: 1 Mac: 0 Windows: 07月19日 Linux: 0 Mac: 0 Windows: 07月18日 Linux: 0 Mac: 0 Windows: 07月17日 Linux: 0 Mac: 0 Windows: 07月16日 Linux: 0 Mac: 0 Windows: 37月15日 Linux: 2 Mac: 0 Windows: 17月14日 Linux: 0 Mac: 0 Windows: 07月13日 Linux: 0 Mac: 2 Windows: 07月12日 Linux: 2 Mac: 0 Windows: 27月11日 Linux: 0 Mac: 0 Windows: 17月10日 Linux: 1 Mac: 0 Windows: 07月9日 Linux: 0 Mac: 0 Windows: 17月8日 Linux: 0 Mac: 1 Windows: 17月7日 Linux: 1 Mac: 0 Windows: 07月6日 Linux: 1 Mac: 0 Windows: 17月5日 Linux: 0 Mac: 0 Windows: 17月4日 Linux: 1 Mac: 0 Windows: 07月3日 Linux: 0 Mac: 0 Windows: 27月2日 Linux: 0 Mac: 0 Windows: 07月1日 Linux: 0 Mac: 0 Windows: 26月30日 Linux: 0 Mac: 0 Windows: 06月29日 Linux: 0 Mac: 0 Windows: 06月28日 Linux: 1 Mac: 0 Windows: 16月27日 Linux: 0 Mac: 0 Windows: 06月26日 Linux: 0 Mac: 0 Windows: 16月25日 Linux: 0 Mac: 1 Windows: 76月24日 Linux: 0 Mac: 0 Windows: 26月23日 Linux: 0 Mac: 0 Windows: 06月22日 Linux: 0 Mac: 0 Windows: 28月6日 Linux: 0 Mac: 1 Windows: 18月5日 Linux: 0 Mac: 2 Windows: 48月4日 Linux: 0 Mac: 0 Windows: 18月3日 Linux: 0 Mac: 0 Windows: 48月2日 Linux: 2 Mac: 0 Windows: 08月1日 Linux: 0 Mac: 1 Windows: 27月31日 Linux: 0 Mac: 0 Windows: 17月30日 Linux: 0 Mac: 0 Windows: 07月29日 Linux: 1 Mac: 1 Windows: 27月28日 Linux: 0 Mac: 0 Windows: 27月27日 Linux: 0 Mac: 0 Windows: 07月26日 Linux: 1 Mac: 0 Windows: 27月25日 Linux: 1 Mac: 1 Windows: 07月24日 Linux: 0 Mac: 0 Windows: 17月23日 Linux: 1 Mac: 0 Windows: 07月22日 Linux: 0 Mac: 0 Windows: 07月21日 Linux: 0 Mac: 0 Windows: 17月20日 Linux: 1 Mac: 0 Windows: 07月19日 Linux: 0 Mac: 0 Windows: 07月18日 Linux: 0 Mac: 0 Windows: 07月17日 Linux: 0 Mac: 0 Windows: 07月16日 Linux: 0 Mac: 0 Windows: 37月15日 Linux: 2 Mac: 0 Windows: 17月14日 Linux: 0 Mac: 0 Windows: 07月13日 Linux: 0 Mac: 2 Windows: 07月12日 Linux: 2 Mac: 0 Windows: 27月11日 Linux: 0 Mac: 0 Windows: 17月10日 Linux: 1 Mac: 0 Windows: 07月9日 Linux: 0 Mac: 0 Windows: 17月8日 Linux: 0 Mac: 1 Windows: 17月7日 Linux: 1 Mac: 0 Windows: 07月6日 Linux: 1 Mac: 0 Windows: 17月5日 Linux: 0 Mac: 0 Windows: 17月4日 Linux: 1 Mac: 0 Windows: 07月3日 Linux: 0 Mac: 0 Windows: 27月2日 Linux: 0 Mac: 0 Windows: 07月1日 Linux: 0 Mac: 0 Windows: 26月30日 Linux: 0 Mac: 0 Windows: 06月29日 Linux: 0 Mac: 0 Windows: 06月28日 Linux: 1 Mac: 0 Windows: 16月27日 Linux: 0 Mac: 0 Windows: 06月26日 Linux: 0 Mac: 0 Windows: 16月25日 Linux: 0 Mac: 1 Windows: 76月24日 Linux: 0 Mac: 0 Windows: 26月23日 Linux: 0 Mac: 0 Windows: 06月22日 Linux: 0 Mac: 0 Windows: 2

读我

源代码
raw.githubusercontent.com

彩色注释

彩色注释插件旨在帮助创建更易于阅读的代码注释。它受到了aaron-bond 的 Better Comments的深刻启发。

全局设置

以下为 ColoredComments 的全局设置 - continued_matching - 如果启用,则将应用上一行的相同匹配内容到下一行(如果以 - 前缀开头)。

# TODO Highlighted as a TODO
# - This will also be highlighted as a TODO (Prefixed with a -)
# This will be an unhighlighted comment
# ! This is another comment
# - and again, continued highlighting

版本 2+

2020-03-06_21-11-38

新高亮显示

使用以下格式轻松添加新标签。请记住以下几点。

  • 标识符:这些可以是 纯文本正则表达式 模式。如果它们是 正则表达式,请确保将 is_regex 属性设置为 true
  • is_regex:如果您的标识符是 正则表达式,请将其设置为 true
  • 优先级:如果您想优先考虑标签设置,此设置至关重要。默认值:2147483647
    • 当存在多个标签可以匹配相同内容时,应使用此设置。例如,"identifier": "*""identifier": "[\\*]?[ ]?@param" 都可以匹配 * @param(因为其中一个不够精确)。为了避免这些冲突,您可以为 [\\*]?[ ]?@param 设置一个更高的优先级,例如 "-1",负值比正值具有更高的优先级。如果两个或多个标签具有相同的优先级,则按先来先服务的匹配方式处理。
  • 作用域:是您当前主题的内置颜色。**请注意,作用域优先于颜色**。
  • 下划线:Sublime API 的区域绘制设置
  • 虚线:Sublime API 的区域绘制设置
  • 波浪下划线:Sublime API 的区域绘制设置
  • 轮廓:Sublime API 的区域绘制设置
  • 颜色:自定义文本颜色
    • 名称:此选项用于为颜色方案生成作用域。
    • 前景:这是 文本 颜色
    • 背景:这是区域的背景,通常你希望能将你的主题 背景 颜色稍微改变 背景,如果主题的背景是 "rgba(1, 22, 38, 0.0)",则应设置为 "rgba(1, 22, 38, 0.1)" 以获得最佳效果

范围示例

摘自 Sublime MiniHTML 参考文档

  • region.background
  • region.foreground
  • region.accent
  • region.redish
  • region.orangish
  • region.yellowish
  • region.greenish
  • region.cyanish
  • region.bluish
  • region.purplish
  • region.pinkish

示例标签

"Important":
        {
            "identifier": "!",
            "underline": false,
            "stippled_underline": false,
            "squiggly_underline": false,
            "outline": false,
            "color":
            {
                "name": "important",
                "foreground": "#cc0000",
                "background": "rgba(1, 22, 38, 0.1)"
            },
        }

贡献者