Have you considered adding LSP support to babi?
I was playing around a bit, trying to add it myself, but I'm no Python expert and I don't really understand the source code.
As far as I understand it, the main steps would be:
[ ] Starting the correct language server when opening a file
[ ] Getting the file's language
[ ] Checking if a language server for that language is installed, if so start and connect to it
[ ] When an edit occurs, let the language server know
[ ] Watch for server messages about errors and warnings and show them to the user
[ ] Watch for server messages about autocompletion and show them to the user
[ ] When hovering the cursor over a symbol
[ ] Show information about that symbol provided by the language server
[ ] When a key is pressed, go to the definition
[ ] When a key is pressed, go to the implementation
There are already some LSP client implementations in Python, so there would be no need to start from scratch:
This of course is only a rough overview and by no means complete, but it would still be a huge step for babi
Source
If you don't have the time / interest to implement LSP support, I'd of course be willing to do it myself and merge it into babe, but I would need some hints and pinpointing, regarding the already existing source code and how it works.
Cheers
Have you considered adding LSP support to babi? I was playing around a bit, trying to add it myself, but I'm no Python expert and I don't really understand the source code.
As far as I understand it, the main steps would be:
There are already some LSP client implementations in Python, so there would be no need to start from scratch:
This of course is only a rough overview and by no means complete, but it would still be a huge step for babi Source
If you don't have the time / interest to implement LSP support, I'd of course be willing to do it myself and merge it into babe, but I would need some hints and pinpointing, regarding the already existing source code and how it works. Cheers