-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python Code Completion not working #940
Comments
I was having issues with the Microsoft Python extension today (can't install PyLance without hacks on VSCodium, and Jedi doesn't support Python 3.10 syntax yet). I found another solution that doesn't require hacking VSCodium config files. Uninstall the Microsoft Python extension and install the Pyright extension instead. It's still Microsoft, but it provides auto-completion and error checking, and works on VSCodium out of the box without modification. I know this doesn't solve your problem exactly, but I hope that it may help you get code completion working in VSCodium. |
I have the same problem and unfortunately I had to switch back to vs code 😞 |
Yeah I had the same issue, took me 4 hours but I found a good solution. The problem is that Pylance is closed source code so VSCodium doesn't allow it. Also Pylance licence may not prohibit it to run inside VSCodium, though I cannot say for sure: https://marketplace.visualstudio.com/items/ms-python.vscode-pylance/license @asdorsey solution works partially but it doesn't work inside Jupyter, and also misses a lot of functionality of Pylance I'd avoid if I can. Though if you want to still install Pylance you can do so this way, the only downside is it doesn't update on its own, and you'd need to update it from time to time:
|
@bxff , Will |
... just reading the post you reference and see:
... explanation: vscode doesn't update anything that was installed from vsix, so it won't here either. ... but then: if you want to use the MS marketplace and MS proprietary extensions you may be better off with their Visual Studio Code binaries (and disable telemetry via settings) - if they provide binaries for your OS. This at least solves the license issues and brings in automatic updates for the extension. |
To manage VSIX from different marketplaces, you can use https://open-vsx.org/extension/zokugun/vsix-manager |
Can we close this as unplanned - because we just can't do anything about this as it is an external extension 1 that works out of the box but doesn't work as extension 2 that wants itself only be used in Visual Studio Code (o "of course there is a different result"). |
Describe the bug
Python code completion don't work in VSCodium as it works out of the box in the proprietary editor.
Please confirm that this problem is VSCodium-specific
Please confirm that the issue/resolution isn't already documented
To Reproduce
Steps to reproduce the behavior:
In any python code try to get the suggestions by pressing Ctrl+Space, none shows
Expected behavior
It should be able to show me some code suggestions (auto-complete)
Screenshots
My product.json
Previously i did setup Jedi instead of PyLance as language server, as suggested by @clayrisser here: #892
and my settings.json had these lines:
besides the default ones obviously, but i don't remember if the update broke it or not, not sure tbh, but it stopped working so i removed these lines trying to make it work after i modified settings.
Also, already added
to
product.json
as suggested in #935 , still, not working.Desktop (please complete the following information):
Additional context
Happy to help, just tell me what i need to do.
The text was updated successfully, but these errors were encountered: