Home > front end >  Code is partly grey in VScode, does anyone know why?
Code is partly grey in VScode, does anyone know why?

Time:10-24

Even though my language is set to html, the code after my CSS style element is all grey, this is not because of syntax highlighting because the code above it is highlighted correctly. Any solutions that don't require me to go into the settings.json?

CodePudding user response:

  1. At the bottom right on band blue there is information about the language used (here it is "svelte"). vsc

Il you press it a popup with differents langages will appear so you can choise your langage. You will find more informations here

  1. Maybe an extention of your file is wrong

  2. You can change color of your template in Code -> preferences -> color theme

  • Related