I had problems with connecting the signal to a slot, but specifying the right class (ScintillaEditBase instead of ScintillaEdit) all works… I reverted the change 😊
Thank you for the feedback! I am working now to integrate LSP in our application, I will asap investigate the semantic highlighting. I found some little bugs in Qt Scintilla implementation, would you like that I send some patches? I found a signal name in qt/ScintillaEditBase/ScintillaEditBase.{h, cpp} that is the same as a function in qt/ScintillaEdit/ScintillaEdit.{h, cpp} Marco Lazzarotto
Done a major update of the software on gitlab: More clean interface No interference with base Scintilla code (even for Qt implementation) * Semantic highlighting is still buggy
I had problems with connecting the signal to a slot, but specifying the right class (ScintillaEditBase instead of ScintillaEdit) all works… I reverted the change 😊 From: Neil Hodgson nyamatongwe@users.sourceforge.net Sent: Wednesday, February 12, 2020 9:56 PM To: [scintilla:feature-requests] 1330@feature-requests.scintilla.p.re.sourceforge.net Subject: [scintilla:feature-requests] Re: #1330 Support for Language Server Protocol I found some little bugs in Qt Scintilla implementation, would you like...
Thank you for the feedback! I am working now to integrate LSP in our application, I will asap investigate the semantic highlighting. I found some little bugs in Qt Scintilla implementation, would you like that I send some patches? I found a signal name in qt/ScintillaEditBase/ScintillaEditBase.{h, cpp} that is the same as a function in qt/ScintillaEdit/ScintillaEdit.{h, cpp} Marco Lazzarotto From: Neil Hodgson nyamatongwe@users.sourceforge.net Sent: Saturday, February 8, 2020 1:50 PM To: [scintilla:feature-requests]...
I applied the patch to the code, and pushed some new work on gitlab. The LSP code now doesn't modify the core Scintilla: work in Qt starts from scintilla/qt/ScintillaEditBase/ScintillaEditBase.h
Yes, I used annotations just to see the results. The server configuration can be improved to not have 3 lines of code (capabilities/textDocument/publishDiagnostics/relatedInformation = true) and visualization should be delegated to application. I will also improve the way LSP server will be configured. I added the support for signature help and plan to add support for textDocument/semanticHighlighting : if well supported from the server this could make a lexer almost useless. To decouple LSP from...
Here it is: https://gitlab.com/marcolazzarotto/scintilla-lsp I am used to program with Qt, there is some work to do on other platforms to implement the class Process (launch an external process, and communicate with it through stdin/stdout)