Open cdhainaut opened 11 months ago
Did you have a look at https://github.com/VSCodium/vscodium/wiki/Extensions-Compatibility?
Hi,
Thanks for the link. Although I don't quite understand why suddenly it does not work anymore as I did not have any issue in the past year using codium
It depends on the goodwill of those extensions. Sometime times it works, some others it doesn't.
+1 here. Tested altogether with VSCode Insiders as well -> No pb in VScode Insiders, works out of the box.
That's weird, as regular logs in vscodium don't provide much intel (I mean Python Extension logs in the Output window) about anything being wrong !
However, I just found that in the settings > Python > Language Server, if you change that from default (Pylance) to the usual fallback LServer (Jedi), then at least autocompletion seems to start working again. Might not be as powerful as their new Pylance LS (if Jedi is the fallback, I suppose there are good reasons for this), but at least it gets it functional again...
Probably some more troubleshooting is required on the Pylance side (?).
[Edit] : hum sorry, the LSP error was dully noted in the first part of the issue, and I just flew over it without noticing :smiling_face_with_tear:
Same issue, even Jedi does not give autocomplete in my case
Sadly same here,
Version: 1.85.1 (user setup) Release: 23348 Commit: 08e6c15293922dd53a864bb041be381322fee401 Date: 2023-12-14T20:44:42.949Z Electron: 25.9.7 ElectronBuildId: undefined Chromium: 114.0.5735.289 Node.js: 18.15.0 V8: 11.4.183.29-electron.0 OS: Windows_NT x64 10.0.19045
Latest python extension installed in vscodium.
Installed vscode with python addon and does in fact work
Bump
I get an error in the VS Intellicode output (in the output tab, selected VS Intellicode
from the dropdown)
Language server is set to "Default". Pylance is used as current language server.
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 I._tryExecuteCommand (vscode-file://vscode-app/c:/Users/TechPro424/scoop/apps/vscodium/1.85.1.23348/resources/app/out/vs/workbench/workbench.desktop.main.js:1544:16102)
at I.executeCommand (vscode-file://vscode-app/c:/Users/TechPro424/scoop/apps/vscodium/1.85.1.23348/resources/app/out/vs/workbench/workbench.desktop.main.js:1544:15984)
Error while activating Python: {}
Language server is set to "Default". Pylance is used as current language server. ... Activating Python extension Language server extension command failed. Exception: Error: command 'python.intellicode.loadLanguageServerExtension' not found
Pylance is proprietary, according to the setting definition it should only be chosen if available, which isn't the case.
Looks like an error in that extension (you may want to file an issue "Default setting for Language Server chooses Pylance while not available" there) - which you may be able to workaround by explicit setting python.languageServer
to Jedi
.
Did you have a look at https://github.com/VSCodium/vscodium/wiki/Extensions-Compatibility?
It depends on the goodwill of those extensions. Sometime times it works, some others it doesn't.
I'm not sure if there's anything more we can do, so consider to close this issue. As all things mentioned here are issues with Microsoft extensions, not with vscodium I suggest to create issues there "does not work with vscode open source builds" in those extensions, this may help you more. Note that - as mentioned in the wiki - some LSP explicit are only licensed for Microsoft binaries, so there's no use in complaining (neither here, nor at Microsoft) at all.
Note: I've just just current VSCodium and opened a python file, got LSP features in general (highlighting, syntax checks, structures) and a note "Starting Jedi language server for default." in the logs - but other than pylance possibly would have there is no fancy IntelliCode (the completion is "dumb").
https://marketplace.visualstudio.com/items?itemName=ms-pyright.pyright using this extension and Jedi lang server, the experience has improved a lot Pylance needs to be uninstalled for this to work
If you use all the ms-python extensions on VSCodium 1.9.0 @cdhainaut (of course select black (I use it) or autopep8 for formatters), cli tools like mypy/pywright/.... and jedi language server on 3.12.3 python on windows, not only everything works fine but it also enforces good programming practices. I'm on Windows x64 10 Pro. I was very pleasantly surprised that all worked that good (some colorization is not there TBH). I also have VSCode for my main work on Python but the experience was day and night vs one year before. I have not yet used python test runner on VSCodium, but I will test more thoroughly.
Rolling back Pylance to 2023.6.40 seems to work fine (if you would rather run a year old version of the extension).
Hi,
I am not able to use IntelliCode inside VSCodium. I checked with VSCode and it works perfectly. I have same release version on VSCodium and VSCode (1.82.2) The extensions I have are:
I run a laptop with Linux Mint 21.2 on it
The error I get on VSCodium is:
Thank you