Closed
Description
Refs: #17225
- macOS @lszomoru
- windows @meganrogge
- linux @connor4312
Complexity: 5
Requirements
- You will need Python 3 (doesn't matter which minor/patch version). Options are:
- You can install it from python.org
- On Mac/Linux, you can install it using your local package manager
- For a managed solution that will allow you to install multiple versions of Python you can use
pyenv
on Mac/Linux, orpyenv-win
on Windows, and callpyenv install 3.9.4
- Make sure you have
"python.experiments.optInto": ["All"],
in your user settings. If not, add it and reload VS Code. - Make sure the
python.defaultInterpreterPath
entries in your user and workspace settings are at their default valuepython
- Use the latests Insiders build of the Python extension (set
python.insidersChannel
todaily
, wait for the download and installation to happen and reload VS Code) - Make sure you have a Python repo with enough references and definitions you can use to test the Jedi Language Server (aka not an empty Python file), for example debugpy
Check settings
- Verify that the
python.jediPath
andpython.jediMemoryLimit
settings do not exist anymore
Test the language server
Make sure to use a Python repo here with enough references and definitions that you can use to test the Jedi Language Server (aka not an empty Python file), for example debugpy.
- Set the value of the
python.languageServer
setting (either in your test repo or in your user settings) toJedi
- Open the folder in VS Code and activate the extension
- Verify that
Starting Jedi language server.
appears in the Python output panel - Verify that there is a "Python Language Server" output panel, and that data is being printed there when using LS capabilities
- Test the language server: Jump to definition, completions, outline
- Make sure that refactoring actions can be triggered from lightbulb actions (and that they work)