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
{{ message }}
This repository has been archived by the owner on Jan 3, 2025. It is now read-only.
Use pipx to install additional packages in the same virtualenv as python-language-server:
pipx inject python-language-server black pyls-black
Make sure the %USERPROFILE%\.local\bin is in PATH so that pyls command can be found by the LSP plugin.
Install the LSP Sublime plugin.
Open project settings (Project -> Edit Project). Make sure you have something like this in there to make pyls aware of your project specific virtual environment:
The key is to have python-language-server and pyls-black in the same virtual environment. I also have pyls-isort installed in the same environment so that imports are automatically sorted when formatting.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
How can I install it in sublime text using the following LSP + pyls setup:
Thank you.
The text was updated successfully, but these errors were encountered: