How do I change color of comments in visual studio code?

后端 未结 9 2316
被撕碎了的回忆
被撕碎了的回忆 2020-11-27 10:29

I went through https://code.visualstudio.com/docs/getstarted/theme-color-reference but can\'t seem to find the setting for changing the comment color.

I am currentl

9条回答
  •  南笙
    南笙 (楼主)
    2020-11-27 11:14

    Like Mark said, but add in the "scope": after "comment"

    "punctuation.definition.comment"

    to color also the punctuation,

    e.g. (// in javescript | /* */ in css | in html).

    "scope": ["comment", "punctuation.definition.comment"]
    

提交回复
热议问题