Added LSP-pylsp as main method of setup.Disable yapf formatter on LSP general settings as it seems to interfere with Black.Amend Black plugin to python-lsp-black.I would like to thank the Spyder IDE team for taking the time to fork and maintain Python LSP Server as well as to all the maintainers of the different plugins for PyLSP for adapting to the fork and releasing new versions promptly.Īnd, of course, the Sublime HQ team for making an awesome text editor. You may also want to install the following Sublime Text packages: If you find any issues with this setup let me know in this blog’s repo. Typical errors include missing dependencies and disabled or incorrect configurations, the logs will include which plugins are active and inactive. You should see the output of PyLSP in that log file which will help you debug any problems. The server should restart on each change to the project’s configuration file, but you may need to restart ST4 (luckily it’s lightning fast). If you find some of the plugins are not working or ST4 is showing an error about PyLSP crashing, you may want to add the following lines to the command list in the project’s config: If it is not set, or if it is incorrect you will not get errors in Sublime Text but simply no linting information. If you find things are working but you are not getting flake8 errors, make sure you’ve set up the setting in your project and it’s set to the correct absolute path.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |