this post was submitted on 18 Jul 2023
903 points (94.9% liked)

Programmer Humor

31793 readers
143 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 1 year ago (1 children)

Just to be helpful:

  • Alt+Shift+Up/Down to duplicate a line (IIRC on Linux this defaults to something more complicated and it's dumb so I changed it to match Windows and OS X)
  • Ctrl+D to create multiple cursors
  • Ctrl+Space to open autocomplete
  • Ctrl+Period to open the little lightbulb menu that sometimes appears next to your cursor
  • Ctrl+Shift+P to search for commands, so you don't need to remember any other shortcuts

Honestly that's about all of the shortcuts I use. The Ctrl+Shift+P menu will show you the keyboard shortcut next to the command, if it has one, so you can easily memorize it if you use a command often.

[–] [email protected] 2 points 1 year ago (1 children)

Totally fair. I think I'm sticking with Webstorm for at least one more year, but might someday give VSCode another try.

Webstorm was the combobreaker that ended my 15 years of Vim.

[–] [email protected] 2 points 1 year ago (1 children)

The only thing that's halted my rampant use of vim is... Neovim.

[–] [email protected] 1 points 1 year ago

I tried, so hard. Once you snort a line of a well-tuned IDE, it's hard to decide "I'm going to learn these 30 extensions to replicate that experience in vim".

Flip-side, I hate vim mode IDEs, too, because it tends to collide with native IDE functionality. So I just "dream of vim" and pull it up for certain specific tasks.