Sublime Forum

Python Packages

#1

Good Day

What packages are you using for your Python development? Just curious is all. I have the following installed.

  1. Jedi LSP, LSP-pylsp,MyPyReveal,PackageControl, PackageDev,Sublime Linter-flake8, Terminus
0 Likes

#2

Doesn’t LSP-pylsp already have Jedi builtin?

Me: LSP, LSP-pyright (not exactly but sort of)

0 Likes

#3

I really don’t know. Back when I installed the packages I probably went on other recommendations.

0 Likes

#4

Jedi package deates back to days LSP hasn’t been in town.

python language server (pylsp) uses jedi engine as well. Thus Jedi package is somewhat obsolete if LSP is used.

I’ve moved on to LSP-pyright however as LSP-pylsp is quite slow and development of pylsp slowed down recently as Palantir seemed to have dropped it.

I’ts a bit of a shame a JavaScript based engine can handle python better than python itself though.

0 Likes

#5

There is jedi-language-server which has a refreshingly limited scope rather than being all-singing-all-dancing. In my experience it works very nicely.

0 Likes

#6

LSP, LSP-pyright, Black, A File Icon, Gitignore, LSP-file-watcher, Terminus (with build system for Python).

0 Likes

#7

What is this useful for? I had a quick look at it and a related issue on GitHub but don’t quite appreciate what it’s for?

From my experience with pyright, file changes are picked up fine, unless I’m missing something?!

Would using this package improve performance somehow (where I do see pyright get slow)?

0 Likes

#8

If you create a new file, or delete an existing one, pyright (and other LSP servers) won’t be aware of that. That’s what LSP-file-watcher is for.

1 Like