Version: SVN (using Devel) OS: Linux When I hover the mouse over a function or I keep alt pressed, a window appears showing the declaration and so on. I can use the arrow keys to navigate to the "Find Uses" option, and then pressing "Enter" gives me all the uses. But I can't navigate the Find Uses window with the keyboard. Reproducible: Always
I wondered about that, too, actually some bits of the GrepModelView could be reused(?). Keyboard navigation is already implemented over there.
This should be easy to implement by now. Just have a look at this commit in kdevplatform.git and adapt to the "Show Uses" view: commit a7d7382b1469018ea96051637404748a1cd17995 Author: Kevin Funk <kfunk@kde.org> Date: Sat Aug 22 14:12:59 2015 +0200 problemreporter: Implement IToolViewActionListener We can now navigate with F4 / Shift+F4 through the problems list view(s)
I'll have a look at this one.
Proposed patch https://phabricator.kde.org/D4483
Git commit 0ed19a87cef4872d9bf7e50dc89db8895428bb40 by Milian Wolff, on behalf of Damir Porobic. Committed on 15/02/2017 at 22:29. Pushed by mwolff into branch 'master'. Keyboard shortcuts for Uses in Code Browser Fix for bug/wish 245902. Use the IToolActionViewer to implement this feature: When the code browser is open and shows uses you can now navigate through all uses by pressing F4 and Shift+F4. The Use that is selected will also be opened, just like clicking on it. Test Plan: Manual Testing Reviewed By: mwolff Differential Revision: https://phabricator.kde.org/D4483 M +39 -3 language/duchain/navigation/useswidget.cpp M +5 -0 language/duchain/navigation/useswidget.h M +85 -0 plugins/contextbrowser/contextbrowserview.cpp M +5 -1 plugins/contextbrowser/contextbrowserview.h https://commits.kde.org/kdevplatform/0ed19a87cef4872d9bf7e50dc89db8895428bb40