You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am a bit curious about this issue. Does it mean that the Python extension will allow using other contributed language servers besides Jedi and Pylance?
This code generator for LSP types in various languages: https://github.com/microsoft/lsprotocol . This was to standardize and make it easier for Server implementers to ingest changes to LSP specification.
LSP types packages for various languages. These are concrete packages that we publish that LSP implementers can depend on
With the above three things, you could contribute a Language Server of your own. You can turn off the ones that are shipped with python extension ("python.languageServer" : "None"), and run one of your own. Note that this was never something that was blocked. The only thing the above 3 things did was to make it lot easier to create LSP based VS code extensions (see Ruff Extension a 3rd party Linting and formatting extension based on Ruff). The Jedi language server that we use is also based on the above packages (jedi-language-server)
If you want to create your own server and would like to use our template here is a video (live stream) where I show how to do it:
Activity
trinhanhngoc commentedon Jan 25, 2024
Hello Karthik Nadig (@karthiknadig) ,
I am a bit curious about this issue. Does it mean that the Python extension will allow using other contributed language servers besides Jedi and Pylance?
karthiknadig commentedon Jan 25, 2024
Trịnh Anh Ngọc (@trinhanhngoc) This was to provide support tools using the following products:
pygls(general purpose LSP server)With the above three things, you could contribute a Language Server of your own. You can turn off the ones that are shipped with python extension (
"python.languageServer" : "None"), and run one of your own. Note that this was never something that was blocked. The only thing the above 3 things did was to make it lot easier to create LSP based VS code extensions (see Ruff Extension a 3rd party Linting and formatting extension based on Ruff). The Jedi language server that we use is also based on the above packages (jedi-language-server)If you want to create your own server and would like to use our template here is a video (live stream) where I show how to do it:
All of this was meant to be is a quick starting point to and move the interesting part of LSP development into Python or Rust.
trinhanhngoc commentedon Jan 26, 2024
Karthik Nadig (@karthiknadig) , Many thanks for the detailed explanation.