Monday 19 August 2013

FEST library for fluent assertions in junit tests

Here you can read more about library that make junit tests more readable using fluent assertions: https://code.google.com/p/fest/

Sunday 18 August 2013

Tuesday 6 August 2013

IntelliJ IDEA useful key shortcuts

  • ALT + UP/DOWN - mark text contextual 
  • CMD + F12 - members in file
  • F8, F7, SHIFT + F8, F9  - Debug over, into, out, resume
  • CMD + SHIFT + F8 - view breakpoints
  • CMD + N - generate in class
  • CMD + E - recent open files
  • CMD + ALT + B - go to implementation
  • F1 - javadoc of content
  • CTRL + H - class hierarchy
  • CMD + J - live templates
  • CMD + ALT + T - surrount with
  • CTRL + T - refactor menu
  • CMD + P - show method types arguments
  • CMD + SHIFT + BACKSPACE - cycle history actions
  • CMD+ SHIFT + V - paste from last 5 copies
  • CMD + SHIFT + E - recently changed files
  • CMD + R - replace
  • ALT + F7 - find usage
  • ALT + SHIFT + UP/DOWN - move text
  • CTRL + SPACE - code completion
  • ALT + CTRL + L - format code
  • ALT + CTRL + O - reformat imports
  • CMD + BACKSPACE - delete line
  • CMD + SHIFT + F - find in path
  • CMD + SHIFT + R - replace in path
  • CMD + O - open class
  • CMD + SHIFT + O - open file
  • CMD + L - go to line
  • CMD + SHIFT + A - suggests actions
  • CMD + B - go to declaration
  • CTRL + SHIFT + R - run test
  • CMD + ALT + SHIFT + F7 - find usage
  • CMD + / - comment line
  • SHIFT + F6 - change name
  • CTRL +SHIFT + R - run
  • CTRL + SHIFT + D - debug
  • CMD + SHIFT + T - create or go to test