I have done some research, but none of the solutions work for me and it seems that my situation is much worse than everybody else. Currently, my VSCode editor is just acting like a plain text editor for any ipynb
files. For example, this is how my import block looks like:
Nothing has been highlighted, and I'm working with this for quite a long time and now I can't bear with this anymore. If this is not bad enough, then take a look at the following:
Literally, nothing happens. I think now the only help I get from VSCode is plain text auto-completion, but that is far from what anyone should have.
The configuration is pretty simple. I have the following kernels I can choose from:
And I'm mainly using anaconda3 for my kernel. Further, I only have
in my setting.json
for python
configuration.
As for extension, I have the standard
CodePudding user response:
The error happened because of the extension Dependency Analytics. Please uninstall it and reload window.
CVE seems to be the default language for notebooks for some reason. Please check the settings.
CodePudding user response:
I have identified the problem. It's caused by an extension conflict, which is reported here.