Most Viewed Pages

13.4.17

Eclipse shortcuts

If not in life, at least in eclipse, there are some shortcuts!

  • Ctrl M - maximize
  • Ctrl Shift B - breakpoint
  • Ctrl Shift / - collapse all
  • Ctrl Shift * - expand all
  • Ctrl Shift F - auto-format
    • Increase the max line width to 1000 to have all the code in a single line
    • Go to Window > Preferences > Java > Code Style > Formatter > Edit
  • String formatting
    • Go to Window > Preferences > Java > Editor > Typing
      • Escape text when pasting into string
  • Ctrl / - Toggle Line Comment
  • Alt Shift R - Rename Variable
  • Ctrl 1 - Show error resolution
  • Alt Shift Up Arrow - Select entire string
  • Ctrl Shift P - Jump to Opening/Closing Brace
  • Ctrl K - jump to the next instance
  • Alt Shift Up arrow - Select entire string in quotes
  • Go to Source/declaration - F3
  • Enable auto activation of content assist:
    • Go to Window > Preferences > Java > Editor > Content Assist > Auto activation triggers for Java
    • Add the string .abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_
    • This would have to be done individually for editors of each language


Chrome shortcuts -

  • Open chrome browser without authentication/security warnings
    • chrome –ignore-certificate-errors &> /dev/null &

No comments:

Post a Comment