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

后端 未结 9 2315
被撕碎了的回忆
被撕碎了的回忆 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:04

    Go to your settings.

    Then search for settings.json open the file and then add this line of code:

    "editor.tokenColorCustomizations": {
    
            "comments": "#229977"
        },
    

    change the color of comments,based on your liking by hovering over the color and choosing your desired color. Then save the changes.(Ctrl+S) Exit the program. open it again, you will see the changes.

提交回复
热议问题