Hacker News new | ask | show | jobs
by shadowgovt 807 days ago
When we reach that world, let me know. I'm still tripping over a "python-lsp-server was simply not implemented async so sometimes when you combine it with emacs lsp-mode it eats 100% CPU and locks your console" issue.
2 comments

Wait, so this is why Emacs has been locking up on me in most of my Python projects??
Possibly. Definitely why it has been locking up on me when I added lsp-mode.

Lsp-mode will schedule one request per keypress but then cancel that request at the next keypress. But since the python LSP server doesn't do async, it handles cancel requests by ignoring them

If emacs hard blocks on LSP requests, that may be on emacs as well. I recomemd you try ruff-lsp, although it does not iver everything and is more for linting, it's higb quality