4 ms·
I agree with the rest of your points, but keyboard navigation in VSC just blows (or I'm doing something very wrong). It's painfully obvious main VSCode develope
by 5e92cb50239222b 4y ago
I agree with the rest of your points, but keyboard navigation in VSC just blows (or I'm doing something very wrong). It's painfully obvious main VSCode developers must be heavy mouse users because you just can't do some things there without a mouse, or they're really awkward (for example, de-focusing the sidebar requires pressing some weird key combo (I think it's Ctrl+Shift+E or something like that?), while a simple Escape works in IDEA for all similar situations — de-focus the sidebar, de-focus a search result/debugger/whatever pane, close the search dialog, basically anything that means "go back to editing the code").
I couldn't find a key combo (or any way to configure it) to navigate between classes and functions in the same file. I find this to be very useful, I must be pressing it hundreds of times a day. VSC expects you to focus on the breadcrumb pane, arrow up or down to the name of the member you'd like to jump to, and press Enter, while in IDEA you just press Alt+ArrowUp (or down) and quickly jump between functions in the same file.
Same with search results. Do a search in IDEA, press Ctrl+Enter, it moves the result list to the search pane. Pressing Ctrl+Alt+Arrow(Up|Down) lets you quickly jump between them. That's another thing I just can't live without. I couldn't find anything like that in VSCode, search is so awkward to use I just drop out to the shell and use ripgrep directly.
Close to 100% of IDEA/Rider's functionality can be controlled through the keyboard, and I think the developers themselves are using it heavily, because it's configured out of the box, hotkeys are discoverable once you understand the logic behind them, and they make sense (unlike in VSCode where hotkeys for many important functions are either not assigned at all, or are awkward out of the box. For example, who in the hell decided to bind "jump to definition" to F12? I'm getting flashbacks to how we played Mortal Kombat at the beginning of the century where you were expected to quickly press difficult key sequences to perform spectacular fighting combos.)
- 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.