3 ms·
> I couldn't find a key combo (or any way to configure it) to navigate between classes and functions in the same file. That's an interesting use case, it total
by rfoo 4y ago
> I couldn't find a key combo (or any way to configure it) to navigate between classes and functions in the same file.
That's an interesting use case, it totally makes sense, it's something I don't know I could have, even though I rarely use mouse. I'm just used to Ctrl+Shift+O and search for member names.
I guess that's the real value of a well-designed IDE. It has everything you may find useful and made it discoverable. Once you know such thing exists, you can... https://marketplace.visualstudio.com/items?itemName=mishkinf.goto-next-previous-member https://marketplace.visualstudio.com/items?itemName=mishkinf...
> who in the hell decided to bind "jump to definition" to F12
Well, it's "Visual Studio" Code, and Visual Studio had this keybinding for at least 20 years. I understand that it does not work for you, but there is a reason.
I grew up using zero Macs, so "go to definition" in my brain always map to "F12 as a single key, or gd in normal mode in a modal editor". Oh, and F12 is easily reachable on an US ANSI 104 keyboard.
- 5e92cb50239222b 4y agoThanks for the pointer, this seems to work. The plugin seems to have appeared after I last checked for something like that. Now only to make search at least quarter as good as it is in IDEA (it seems to be very underappreciated for such an important piece of functionality): jumping between results, grouping results by the class/function they appear in, filtering by access type (declaration/definition/read value/write value), etc etc. Jump up & down has a different use case compared to symbol search (which I too use heavily). If the program is well-structured (i.e. functions are of reasonable size and things that depend on each other and call each other are located nearby), it eases the pain of trying to understand how it all ties together, especially for those with bad short-term memory like myself.