Intro to Android

IntelliJ Commands

Text Handling

  • ⌘ D - Duplicate current line
  • ⌘ C - Copy line
  • ⌘ X - Cut line

Coding

  • ⌘ O - Override parent members

Code Generation

  • ⌘ ⌥ F - Create field
  • ⌘ ⌥ C - Create constant field
  • ⌘ ⌥ M - Create member
  • ⌘ ⌥ V - Create variable

Testing

  • ⌘ ⌥ T - Create test*
  • ⌘ B - Navigate to the source folder
  • ⌘ N - Open file name**

Notes

* Cursor should be on the name of the class

** Camel casing shortcuts can be used