Home > Blockchain >  Python note book autocomplete not working in VSCode with environment being CVE
Python note book autocomplete not working in VSCode with environment being CVE

Time:11-30

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: enter image description here

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: enter image description here

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: enter image description here

And I'm mainly using anaconda3 for my kernel. Further, I only have enter image description here

in my setting.json for python configuration.

As for extension, I have the standard enter image description here

CodePudding user response:

The error happened because of the extension Dependency Analytics. Please uninstall it and reload window.

Reference: enter image description here

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.

  • Related