pbb
pbb

Reputation: 165

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

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 python extension with python extension pack installed, which are the only two extensions I installed for python.

I'm really tired of working with plain text python code, if any information is needed, I can provide as much as I can.

-- Edit

It seems that the default language is not python, but CVE. Futhermore, I can't find the proper language to choose. All the language options are listed below.

enter image description here

Upvotes: 1

Views: 1701

Answers (2)

Molly Wang-MSFT
Molly Wang-MSFT

Reputation: 9451

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

Reference: jupyter conflict with Dependency Analytics.

Upvotes: 2

umitu
umitu

Reputation: 3310

Click here and select Python. enter image description here

CVE seems to be the default language for notebooks for some reason. Please check the settings.

Upvotes: 1

Related Questions