【问题标题】:Change the color of if,else,while,for,foreach更改 if、else、while、for、foreach 的颜色
【发布时间】:2015-11-06 15:37:26
【问题描述】:

您好,我想更改说明的颜色:

if,else,while,for,foreach,endif..

在我的 monokai sublime color sheme 中,但我找不到与这些说明关联的 dict 键。

感谢您的帮助。

【问题讨论】:

    标签: php themes sublimetext3


    【解决方案1】:

    这是你要找的吗?

    <dict>
      <key>name</key>
      <string>Keyword</string>
      <key>scope</key>
      <string>keyword</string>
      <key>settings</key>
      <dict>
        <key>foreground</key>
        <string>#ff005e</string>
      </dict>
    </dict>
    

    或者

    <dict>
      <key>name</key>
      <string>Tag name</string>
      <key>scope</key>
      <string>entity.name.tag</string>
      <key>settings</key>
      <dict>
        <key>fontStyle</key>
        <string></string>
        <key>foreground</key>
        <string>#ff005e</string>
      </dict>
    </dict>
    

    希望这会有所帮助。

    【讨论】:

    • 不,因为我想区分标签名称,例如区分“if”和“=>”
    猜你喜欢
    • 2012-02-02
    • 2021-11-23
    • 1970-01-01
    • 2014-03-18
    • 2015-12-07
    • 1970-01-01
    • 1970-01-01
    • 2011-09-26
    相关资源
    最近更新 更多