0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

VSCode Ruby Monokai 定数 色を付けたい

Last updated at Posted at 2018-10-04
※ このメモは .rb 以外の事は全く考慮されていません

VSCode にデフォで入っている Monokai は定数に色が付いてくれない

スクリーンショット 2018-10-04 17.37.26.png

半泣きで試行錯誤したら出来たのでメモ

スクリーンショット 2018-10-04 17.38.05.png

他にも方法がありそう

{
    "editor.tokenColorCustomizations": {
        "[Monokai]": {
            "textMateRules": [
                {
                    "scope": "variable.other.constant",
                    "settings": {
                        "foreground": "#ae81ff"
                    }
                }
            ]
        }
    }
}
参考

https://code.visualstudio.com/docs/extensions/themes-snippets-colorizers#_textmate-theme-rules
https://macromates.com/manual/ja/language_grammars
https://www.sublimetext.com/docs/3/scope_naming.html

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?