Live data from Hacker News

My Favorite Shortcuts for JetBrains' IDEs

markusdosch.com

61–70 of 71 posts

Re: My Favorite Shortcuts for JetBrains' IDEs

#61

Earlier quoted context omitted.

I'm using the Dvorak Cmd-QWERTY layout in macOS. This changes the layout to QWERTY whilst the Cmd key is held so that keyboard shortcuts are mostly in the same physical place (because most are about easy hand movements rather than letter). JetBrains does not match this behaviour.

Huh, never realized that was a thing. Do the shortcuts in the menu show the QWERTY key or the Dvorak one? I'm curious how you learn the shortcuts if it still shows the QWERTY keys.

Shortcuts all show the correct letter value. So for Ctrl+T, I'd press what is the K key on a QWERTY keyboard. For Cmd+T, I'd press what is the T key on a QWERTY keyboard.

This can get a little confusing, but most common shortcuts contain the Cmd modifier on a Mac, so it's only really Terminal/iTerm where things are different.

My keyboard is still physically a QWERTY keyboard which makes knowing where Cmd shortcuts are very easy, I can just look. I switched to Dvorak when I was 18, but learnt with a Dvorak keyboard so I didn't learn it well enough and when I got to uni and had to use shared lab machines I couldn't manage and had to switch back. Then just over 3 years ago I had 3 weeks off work so switched at the beginning with no physically different keyboards and learnt it all by position and I'm still using it today. Less hand pain, and I can touch type where before I was proficient but not entirely by touch.

Re: My Favorite Shortcuts for JetBrains' IDEs

#62

While we talk about JetBrains, I think they really should push some priority on their remote development support. Take the VS Code Remote SSH extension as a good example of how it could work, which is extremely seamlessly, and it just works. E.g. even the embedded terminal provides a shell on the remote host, and if you e.g. open a file in there via `code somefile.txt`, it will open in your VS Code. It's basically th…

Using remote dev boxes can definitely be a huge productivity boon, from having better specs to much faster networks.

Here's an example of how Databricks improved their dev cycle with beefy machines running Bazel + remote cache: https://databricks.com/blog/2019/02/27/speedy-scala-builds-w...

Re: My Favorite Shortcuts for JetBrains' IDEs

#64
Ctrl + Shift + A is my favourite shortcut in JetBrain IDEs. Having all editor commands in one go without the need to click through menus is a bliss. Especially so because I don't use IDEs as regular as Neovim and thus keep forgetting some shortcuts.

Double Shift is also extremely helpful to navigate to a file if the project has a lot of nested subdirectories.

Re: My Favorite Shortcuts for JetBrains' IDEs

#65

I really wish they had ctrl-shift-t - reopen tab. I use it in chrome so much and it kills me when I accidentally close a file and I can't just reopen.

To accomplish similar I use "Back" from the Navigate menu regularly and have it bound to cmd+opt+left arrow. Works pretty well - also puts your cursor back to where it was in that file.

Re: My Favorite Shortcuts for JetBrains' IDEs

#68

I've asked this before in other conversations but, what makes VS Code so popular compared to more mature IDEs with a more full fledged set of features like IntelliJ? I have tried VS Code and the minute I couldn't ctrl + click navigate the code or get contextual ctrl + space bar method or input parameter suggestions I abandoned it.

> I have tried VS Code and the minute I couldn't ctrl + click navigate the code or get contextual ctrl + space bar method or input parameter suggestions I abandoned it. I'm using VSC for a project the moment. You can definitely Cmd+Click on Mac to navigate, so I assume you could too, but perhaps it's not indexing your code for some reason? I also see completions for method parameters, but I don't yet know the shortcu…

Last I heard, they were embedding neovim in VS Code, have you tried this? Or did they give up on this?

Re: My Favorite Shortcuts for JetBrains' IDEs

#70

I really wish they had ctrl-shift-t - reopen tab. I use it in chrome so much and it kills me when I accidentally close a file and I can't just reopen.

They have a "Reopen Closed Tab" action you can map in Settings -> Keymap. You can also use "Recent Locations" Ctrl-Shift-E to see recently touched files, the first one will be the one you just closed.
Post reply on HN