15
eeee
7y

As devs, our keyboards are arguably the most used tools in the creative process of software development. Shortcuts are essential for (most of) us.

What's your most used keyboard shortcut in your most used IDE? Please explain what it does in which IDE.

Mine is Cmd+Alt+L in IntelliJ (reformat code, but only VCS changed or selected lines). I press it all the time, almost maniacally, after changing anything.

Close second place candidates: Shift+F6 (rename anything, e.g. file, class, function, variable), double Shift (search everywhere), Cmd+Alt+F (find in path, also in code), Cmd+B (go to declaration).

Comments
  • 1
    Ctrl + Space - autocompletion in IntelliJ IDEA, Android Studio, cLion and almost every other IDE I know.

    2nd: Ctrl + Shift + A - opens a Dialog where a user can enter any command used in those IDEs for example generate... Getter/setter, constructor, toString, etcpp.
  • 7
    :w

    Remember kids, only you can prevent lost work.
  • 2
    CTRL+Shift+P on sublime, can do almost anything with that thing (same functionality has since then been added to chrome console!)
  • 1
    My most used shortcut is tab - my ide is set so when I press it it inserts three spaces.
  • 0
    Visual Studio

    Ctrl+Shift+S (save all)
    Ctrl+R+R (rename the current item)
    Ctrl+M+X (toggle all regions)
  • 3
    Ctrl+c

    Then

    Ctrl+v

    Works for me in every software...
  • 3
    I couldn't tell you what my favorite shortcuts are.

    They are all stored in muscle memory.
  • 2
    Ctrl Space, Autocomplete.
    Tab Tab, use Snippet
  • 0
    @jmclemo6 ctrl-s it is.
  • 0
    CTRL + S Saves and auto-formats the current file (I set this up for all IDEs I use)

    CTRL + shift + R Open file by name. (Eclipse and Intellij with "eclipse keymap")

    CTRL + Space. Auto complete

    Alt +Enter. Quick fix (e.g. generate method) how did I survive without this?!

    F2 Rename variable/file (Visual Studio with Reshaper, but I enabled this in every IDE I use)
  • 1
    Alt + Enter in ReSharper plugin for VisualStudio. It does everything :P
  • 1
    backspace
Add Comment