Explain Codes LogoExplain Codes Logo

What is Eclipse's Ctrl+O (Show Outline) shortcut equivalent in IntelliJ IDEA?

java
intellij-idea
shortcuts
navigation
Anton ShumikhinbyAnton Shumikhin·Aug 28, 2024
TLDR

To mimic Eclipse's Ctrl+O shortcut in IntelliJ IDEA, use Ctrl+F12. This triggers the File Structure popup, providing an overview of variables and methods, discriminable instantly through typing.

Ctrl+F12 // I'm your genie in a bottle, showing you where things are.

For macOS users, use fn + cmd + F12 for the same outcome.

In the realm of the File Structure popup, a few nifty directions save you time:

  • Arrow keys: Navigate through the member listings.
  • Typing: Directly filter the results, great for fast member finding.
  • Enter: Jump-starts your journey to the chosen member.

Structure window: Your map on the side

Construct a more unyielding class member view with Alt+7 (or Cmd+7 on a Mac), to open the Structure window. It grazes past File Structure Popup capabilities but without fading away:

  • Sync with Editor: Upon clicking the lock icon, the active file is on your Structure window's radar.
  • Settings Menu: Tweaking possibilities for viewpoints and sorting await you.
  • Unpinned Mode: Enable an adaptive Eclipse-like atmosphere, where the Structure view vanishes upon pressing Esc.

When your exploring compass wants to go further than a single class, IntelliJ IDEA unwraps the Double Shift search, an effective tool for finding classes, files, or symbols across the project.

Beyond-class navigation in IntelliJ IDEA

IntelliJ IDEA is your interdimensional portal to navigate outside a single class:

  • CTRL+N: Cristina Yang of shortcuts, operating on any class instantly.
  • CTRL+SHIFT+N: The Sherlock Holmes in the world of code, tracking down any behind-the-scenes files.
  • CTRL+ALT+O: Direct flight to any symbol. No delays, no baggage claim hassles.

IntelliJ IDEA: Your personalized cockpit

Your coding landscape perched in IntelliJ IDEA can smooth your flight:

  • Keymap Customization: Make IntelliJ shortcuts your own with custom keymaps through Settings ⮕ Keymap.
  • Search Everywhere Enhancements: Deploy more detailed plugins and actions with Double Shift, making it more powerful than just revealing class structure.
  • Speed Search: Highlights not just in popups but across other windows like Settings/Preferences or Project View.