-
Notifications
You must be signed in to change notification settings - Fork 78
Intellicode for Python: 'python.intellicode.loadLanguageServerExtension' not found #509
Description
Product and Version [VS/VSCode]: VSCodium 1.83.0
OS Version [macOS/Windows]: Pop!_OS 22.04 LTS
IntelliCode Extension Version: 1.2.30
Target Platform or Language [e.g. Node.js]: Python3
Steps to Reproduce / Scenario:
- Installed intellicode alongside with Pylance (v2023.10.10)
- Open *.py file
- Error: "Sorry, something went wrong activating IntelliCode support for Python. Please check the "Python" and "VS IntelliCode" output windows for details."
Log output:
Language server is set to Pylance.
Acquiring model
vs-intellicode-python was passed a model: {}.
Acquiring model 'intellisense-members-lstm-pylance' for python
Querying IntelliCode service for available models.
Cached model is up to date.
Activating Python extension
Language server extension command failed. Exception: Error: command 'python.intellicode.loadLanguageServerExtension' not found
at w._tryExecuteCommand (vscode-file://vscode-app/usr/share/codium/resources/app/out/vs/workbench/workbench.desktop.main.js:1534:16057)
at w.executeCommand (vscode-file://vscode-app/usr/share/codium/resources/app/out/vs/workbench/workbench.desktop.main.js:1534:15939)
Error while activating Python: {}
Some search showed the issue #296, but downgrading to 2021.5.926500501 of the Python extension might not be sensible. Further search lead to https://forum.manjaro.org/t/vscode-intellicode-language-server-error-with-python-with-fix/146447 where downgrading Pylance to v2023.6.40 did the trick.
Testing all Pylance versions beginning with the current one (v2023.10.10) down to v2023.6.40 I was able to reproduce the error with every version except for v2023.6.40.
Not sure if this issue is properly placed here, or belongs to the Pylance site, also considering I got a fix to use intellicode for my use case, but for further bug fixes and as a resource for persons with the same issue, this might help.
Let me know if there is more data / logs needed to find the cause here.