'Visual Studio Code does not show variable color or problems anymore
About 4 days ago, while I was doing my schoolwork 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 am a beginner in coding, so the "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.
[EDIT: nothing that i tried fixed the issue, since uninstalling or changing files is not an option for me since i need administrator rights to do so [which i do not have], but it is alright, i have installed another linter and now everything should be fine]
Solution 1:[1]
Maybe you need to install a vs code plug-in called pylance and make sure that it is not disabled in your workspace.
Solution 2:[2]
uninstall Visual Studio Code and delete user\AppData\Roaming\Code (windows) and the install it again, may be it's due to a buggy extension or some setting
Solution 3:[3]
You can follow the picture and open your settings.
Check this option so that intellisence and error wavy lines will be back.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Starry-OvO |
Solution 2 | Gopal Lohar |
Solution 3 | MingJie-MSFT |