Home > Software design >  Visual Studio Code Ignore Invalid color format
Visual Studio Code Ignore Invalid color format

Time:01-23

in my VSCode settings.json I have a few lines for the TODO Tree extension and they whant me to use rgb or hex codes but my VSCode highlights me them with this error.

It works but it bothers me to see these "error" lines.

Can somebody tell me how to disable them or how to write it so that they don't show up.

(Whole errror code: Invalid color format. Use #RGB, #RGBA, #RRGGBB or #RRGGBBAA.)

I haven't really tried anything because I don't know what to use.

CodePudding user response:

Answer: use the hex format and not the rgb.

  • Related