python-lsp / python-lsp-server

Fork of the python-language-server project, maintained by the Spyder IDE team and the community
MIT License
1.88k stars 196 forks source link

In emacs-lsp, super slow f-string completion with open parenthesis #378

Open wiz21b opened 1 year ago

wiz21b commented 1 year ago

Hello,

I think I have a bug but I'm not sure it if is pyslp or emacs-lsp-mode that is the culprit.

It's 100% reproducible. Scenario is:

I can provide debug information if someone tells me how to get them.

Cheers, and thanks for providing us with a non-msft tool !

wiz21b commented 1 year ago

After some tests, it appears the issue depends on the size of the file and the power of the computer I'm using. So maybe it's not a bug, it's "just" a performance issue...

caryoscelus commented 9 months ago

i've run into a similar issue without lsp, only default python mode. until { is closed, typing is extremely slow (1-2s per character). and yeah, can also confirm it depends on file size