KDevelop problems suitable for a Ph.D. thesis

Sven Brauch mail at svenbrauch.de
Thu Sep 5 20:11:16 BST 2024


Hi,

On 03.09.24 13:18, Igor Kushnir wrote:
> I have considered integrating Language Server Protocol (LSP). 

I also think this won't work, LSP doesn't really seem designed to fully 
back an IDE like KDevelop. Its data is in the server, and you query it 
over the protocol using high-level queries, which isn't really 
compatible with how almost everything in KDevelop is built.

I wonder if it is worth exploring whether a different protocol could be 
created, closer to what the KDevelop data model works like. Essentially, 
move KDevelop's language plugins out-of-process (which might be a good 
idea anyways) and provide the data needed to fill the duchain over some 
protocol. Querying would remain in KDevelop itself. Compared to LSP, 
this approach would only outsource the "dumb" part of analysis to an 
external tool, and more of the "intelligence" would remain in the IDEs 
themselves, hopefully simplifying improvements.

Certainly not a weekend project, but you didn't ask for one as I 
understood ;)

Greetings,
Sven
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xA4AAD0019BE03F15.asc
Type: application/pgp-keys
Size: 3147 bytes
Desc: OpenPGP public key
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20240905/8a534fee/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20240905/8a534fee/attachment.sig>


More information about the KDevelop-devel mailing list