Change error highlight color in vs code

前端 未结 3 1290
囚心锁ツ
囚心锁ツ 2021-01-05 16:38

I build a project and get some problems in the \"Problems view\", I click on the problem to see a line of code with that problem highlighted.

And it gets highlighted

3条回答
  •  被撕碎了的回忆
    2021-01-05 17:26

    A wrapup answer:

    For VS Code 1.52+ You can use this snippet to customize error colors:

    "workbench.colorCustomizations": {
         "editorError.background": "#ff80ab66",
         "editorError.foreground": "#d50000",
    }
    

    Available properties: https://code.visualstudio.com/api/references/theme-color

提交回复
热议问题