Skip to content
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

How to use it with vscode? #50

Closed
proofit404 opened this issue Nov 27, 2020 · 5 comments
Closed

How to use it with vscode? #50

proofit404 opened this issue Nov 27, 2020 · 5 comments

Comments

@proofit404
Copy link

README mentions only great editors like vim & emacs.

Is it possible to configure vscode to use this server?

Regards,
Artem.

@pappasam
Copy link
Owner

Great question! I don't use vscode so I'm not 100% sure, but I assume we'll need to write a VSCode client as documented here. Based on the fact that coc.nvim is somewhat based on vscode and that I've already written a language server extension for coc.nvim, it would probably be a matter of porting coc-jedi to support VSCode.

@QDelage
Copy link

QDelage commented Jan 13, 2021

Isn't that the one used when you put
"python.languageServer": "Jedi"
in your settings.json ?

@pappasam
Copy link
Owner

@QDelage no, that configuration comes from vscode-python, an existing vscode extension maintained by microsoft that does not use jedi-language-server (instead optionally relying on jedi itself for some language server functionality). See microsoft/vscode-python#7010

@karthiknadig
Copy link
Contributor

With the latest release of VS Code https://github.com/microsoft/vscode-python/releases/tag/2021.2.576481509 there is a new setting for python.languageServer for this. Set python.languageServer to JediLSP. This is still experimental, and uses older version (for now) to support python 2.7.

@pappasam
Copy link
Owner

I've added the comment above to the readme. We can call this resolved for now and update the readme with any new instructions as/if the VSCode integration evolves.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants