Bug 427267 - LSP Client: Jump to Declaration / Definition on Control-click
Summary: LSP Client: Jump to Declaration / Definition on Control-click
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 20.08.1
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-02 21:42 UTC by Grósz Dániel
Modified: 2021-01-11 21:03 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Grósz Dániel 2020-10-02 21:42:31 UTC
SUMMARY
Ctrl-click on an identifier should jump to the declaration (or the definition if a declaration is unavailable — some language servers such as typescript-language-server don't seem to report declarations), as is common in IDEs. Ideally it should also highlight an identifier on hover if a declaration or definition is available.

SOFTWARE/OS VERSIONS
openSUSE Tumbleweed 20200930
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.15.1
Comment 1 Bug Janitor Service 2021-01-11 16:40:59 UTC
A possibly relevant merge request was started @ https://invent.kde.org/utilities/kate/-/merge_requests/172
Comment 2 Christoph Cullmann 2021-01-11 21:03:45 UTC
Git commit 8a7ff9768be3734e722685971042c97a2bc3093f by Christoph Cullmann, on behalf of Waqar Ahmed.
Committed on 11/01/2021 at 21:03.
Pushed by cullmann into branch 'master'.

LSP: Show underline on Ctrl+MouseMove when a symbol is goto-able

M  +67   -7    addons/lspclient/lspclientpluginview.cpp

https://invent.kde.org/utilities/kate/commit/8a7ff9768be3734e722685971042c97a2bc3093f