Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Code does not show variable color or problems anymore

Recently while using Visual Studio code I noticed that the variable colors don't turn blue like they used to, and it does not show me problems in the code anymore. I particularly depend on this feature, so it "not showing problem" thing is a big issue for me. Would anyone know how can I get them back?

Also, this problem is in all of my Visual Studio Code tabs, so its not just a specific code doing it.

like image 241
poro123 Avatar asked Sep 15 '25 22:09

poro123


2 Answers

I had the same issue. It is probably because your color theme is changed. To change it back go to "File", then "Preferences" and click on color themes. Select the "Dark+" theme

like image 122
Al0neWolf Avatar answered Sep 19 '25 06:09

Al0neWolf


Maybe you need to install a vs code plug-in called pylance and make sure that it is not disabled in your workspace.

like image 26
Lumina Avatar answered Sep 19 '25 06:09

Lumina