Well, there is
- goto definition
- goto declaration
- ctrl+click

I'm slightly worried that users already got used to "goto definition" 
keybinding to behave like ctrl+click and if we modify it now, it will break 
user's expectations. We could introduce
- goto definition/declaration keybinding

behaving like ctrl+click but that will probably have to be assigned a different 
default keybinding so users will have to learn something new again. I'm not 
really sure how to solve this and if we should do something about it.

> there is no point in having three actions all doing the same thing.

But one is mouse-oriented and the other keyboard-oriented. And only two do the 
same thing:
- ctrl+click does the same thing as goto definition (going to definition unless 
on definition already, then to declaration + the popup stuff for multiple 
results)
- goto declaration (going to declaration unless on declaration already, then to 
definition + the popup stuff for multiple results)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3585#issuecomment-1755741923
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/issues/3585/[email protected]>

Reply via email to