intellij-idea Little-known features Quick Preview


Example

Check screencast video on YouTube about this feature

IntelliJ provides a quick-preview feature called Viewing Definition. Using this feature allows a user to quickly see the contents of a method/class without navigating into the class itself

  • OS X - (+Y) or (+Space)
  • Unix / Windows - Ctrl+Shift+I

Example: Looking into Arrays.copyOfRange(): enter image description here

Verifying if you've selected the right class in Search:

enter image description here

Or a quick look at some project files: