[kdevelop] [Bug 444206] Feature Request: Language Server Support?

2023-02-20 Thread Alex Lowe
https://bugs.kde.org/show_bug.cgi?id=444206

Alex Lowe  changed:

   What|Removed |Added

 CC||len...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdevelop] [Bug 444206] Feature Request: Language Server Support?

2021-11-03 Thread Jonathan Verner
https://bugs.kde.org/show_bug.cgi?id=444206

Jonathan Verner  changed:

   What|Removed |Added

 CC||jonathan.ver...@matfyz.cz

--- Comment #1 from Jonathan Verner  ---
(In reply to Adam Jimerson from comment #0)
> Currently, Kate has a plugin for Language Server Protocol which allows it to
> work with various tools for different languages, and the use of LSP seems to
> be rapidly growing. It would be nice if KDevelop also supported LSP to allow
> it to work with other programming languages like Go which is currently
> missing outside of the currently deprecated go plugin for KDevelop.
> 
> I don't know if current LSP implementations alone would be enough for the
> full IDE experience, but it would be a start.

Last time I looked at this, the LSP protocol did not provide enough information
for kdevelop's
code understanding. This might have changed recently (esp. with the
introduction of "semantic token"
support). 

However, this is not as simple as taking Kate's plugin. We would need to use
the LSP server to build
a DUChain (definition-use chain), which is what KDevelop uses for all its code
intelligence stuff. Its not
clear whether this would be sufficiently performant. I have long thought about
this, but it is a lot of 
work... I might get eventually do some experiments, but don't hold your breath.

Also, merge requests at https://invent.kde.org/kdevelop are more than welcome
:-)

-- 
You are receiving this mail because:
You are watching all bug changes.