Additional hints

Quick Documentation & Type Information

We can also ask for additional hints from our IDE. For example, we might want more information about a particular class or method that is used here but defined elsewhere. We can navigate to other locations in the code base, and back again, but we might end up getting lost in a large code base. Even though we can ask IntelliJ IDEA to locate a file in the project structure, using the shortcut for Select In ⌥F1 (macOS) / Alt+F1 (Windows/Linux) and pressing 1 for the Project tool window, jumping around too much can get overwhelming when trying to understand new code.

Instead, we can use Quick Documentation using F1 (macOS) / Ctrl+Q (Windows/Linux) to pull up the information we need in our current location. We can also pull up Type Information using ⌃⇧P (macOS) / Ctrl+Shift+P (Windows/Linux) if we’re unsure of what type is returned by a particular method.