Vscodium: Intellisense/Autocompletion not working for Python

Created on 18 Jun 2020  路  1Comment  路  Source: VSCodium/vscodium

Describe the bug
Intellisense/Autocompletion not working for Python.

Please confirm that this problem is VSCodium-specific

  • [x] This bug doesn't happen if I use Microsoft's Visual Studio Code. It only happens in VSCodium.

Please confirm that the issue/resolution isn't already documented

  • [x] I checked the Docs page and my issue is not mentioned there.

To Reproduce
Steps to reproduce the behavior:

  1. Open a new empty window
  2. Create a new file test.py
  3. type import sy
  4. Press ctrl + enter
  5. Should auto-complete to import sys but shows No suggestions

Expected behavior
Intellisense/Autocompletion works.

Desktop (please complete the following information):

  • OS: Ubuntu 20.04
  • Architecture x64

    • VSCodium: 1.46.0

bug

Most helpful comment

I had this issue as well, but I don't think it relates to VSCodium specifically. It's a known issue with the Python extension. It was reported in microsoft/vscode-python#12429, and should be fixed in an upcoming release (via microsoft/vscode-python#12433).

In the meantime, you can switch to the Microsoft Python language server. It's open-source, Apache 2.0 licensed, doesn't require a connection to the Microsoft marketplace, and works with VSCodium. You just need to update your VSCodium _settings.json_, and it will download automatically.

Your _settings.json_ might have some entries like this:

{
  "python.jediEnabled": true,
  "python.languageServer": "Jedi"
}

The "python.jediEnabled" key is now deprecated, so you can remove it, and then change your language server to Microsoft:

{
  "python.languageServer": "Microsoft"
}

>All comments

I had this issue as well, but I don't think it relates to VSCodium specifically. It's a known issue with the Python extension. It was reported in microsoft/vscode-python#12429, and should be fixed in an upcoming release (via microsoft/vscode-python#12433).

In the meantime, you can switch to the Microsoft Python language server. It's open-source, Apache 2.0 licensed, doesn't require a connection to the Microsoft marketplace, and works with VSCodium. You just need to update your VSCodium _settings.json_, and it will download automatically.

Your _settings.json_ might have some entries like this:

{
  "python.jediEnabled": true,
  "python.languageServer": "Jedi"
}

The "python.jediEnabled" key is now deprecated, so you can remove it, and then change your language server to Microsoft:

{
  "python.languageServer": "Microsoft"
}
Was this page helpful?
0 / 5 - 0 ratings

Related issues

paulcarroty picture paulcarroty  路  5Comments

JL2210 picture JL2210  路  7Comments

G-Ray picture G-Ray  路  6Comments

sdaitzman picture sdaitzman  路  3Comments

Aviortheking picture Aviortheking  路  5Comments