Most Important Spring Tool Suite(STS) Keyboard shortcuts for macOS

Spring Tool Suite (STS) is a popular IDE for Java developers. I've been using it for last three years, and there are so many shortcuts that can help you to save time while developing.

On my Mac computer, I'm using STS. The most often used STS shortcut commands are listed here.

  1. Command (⌘) + Shift (⇧) + F    ---> Format source code
  2. Command (⌘) + Shift (⇧) + O   ---> Organise imports in the current java file
  3. Command (⌘) + Shift (⇧) + T    ---> Open / Search for types
  4. Command (⌘) + S                      ---> Save current .java file
  5. Command (⌘) + D                      ---> Delete current line
  6. Command (⌘) + /                        ---> Comment / Uncomment a current line
  7. Control (⌃) + Space                     ---> Content assist and code completion
  8. fn + F3                                         ---> Open declaration
  9. Command (⌘) + 1                       ---> Quickfix for errors and warnings
  10. Command (⌘) + 2                       ---> Quick assist
  11. Command (⌘) + fn + F8              ---> Shortcut for switching perspectives
  12. Command (⌘) + Option (⌥) + S ---> To open source


These are the most time-saving STS shortcuts that I use on a daily basis.



Comments

Popular posts from this blog

n - Interactively Manage Your Node.js Versions on macOS