# Code navigation

> For the complete documentation index, see [llms.txt](https://www.jetbrains.com/help/ruby/2026.3/llms.txt).

You can quickly navigate through your code in the editor using different actions and popups.

You can start with watching a video tutorial to check what navigation options are available in RubyMine.

[Video](https://www.youtube.com/v/YlSYx6wUku4)

Procedure: Navigate with the caret

* To see the previous caret position, select `Navigate | Back` from the main menu  or press `Ctrl+Alt+Left` (Windows), `⌘ [` (macOS), `⌘ ⌥ ←` (IntelliJ IDEA Classic (macOS)), `⌘ [` (macOS System Shortcuts), `Ctrl+Alt+Left` (XWin), `Alt+Shift+Left` (GNOME), `Ctrl+Alt+Left` (KDE), `Ctrl+Alt+Left` (Emacs), `Alt+NumPad -` (Sublime Text), `⌃ NumPad -` (Sublime Text (macOS)), `Ctrl+Minus` (Visual Studio), `⌘ Minus` (Visual Studio (macOS)), `Meta+Alt+Left` (TextMate), `Alt+Left` (NetBeans), `Alt+Left` (Eclipse), `⌘ [` (Eclipse (macOS)). To move forward, select `Navigate | Forward`  or press `Ctrl+Alt+Right` (Windows), `⌘ ]` (macOS), `⌘ ⌥ →` (IntelliJ IDEA Classic (macOS)), `⌘ ]` (macOS System Shortcuts), `Ctrl+Alt+Right` (XWin), `Alt+Shift+Right` (GNOME), `Ctrl+Alt+Right` (KDE), `Ctrl+Alt+Right` (Emacs), `Alt+Shift+NumPad -` (Sublime Text), `⌃ ⇧ NumPad -` (Sublime Text (macOS)), `Ctrl+Shift+Minus` (Visual Studio), `⌘ ⇧ Minus` (Visual Studio (macOS)), `Meta+Alt+Right` (TextMate), `Alt+Right` (NetBeans), `Alt+Right` (Eclipse), `⌘ ]` (Eclipse (macOS)).

* To quickly move to the top of the editor, press `Ctrl+Page Up` (Windows), `⌘ Page ↑` (macOS), `⌘ Page ↑` (IntelliJ IDEA Classic (macOS)), `⌘ Page ↑` (macOS System Shortcuts), `Ctrl+Page Up` (XWin), `Ctrl+Page Up` (GNOME), `Ctrl+Page Up` (KDE), `Ctrl+Page Up` (Emacs), `Ctrl+Page Up` (Sublime Text), `⌘ Page ↑` (Sublime Text (macOS)), `Ctrl+Page Up` (Visual Studio), `⌘ Page ↑` (Visual Studio (macOS)), `Meta+Page Up` (TextMate), `Alt+Shift+Home` (NetBeans), `Ctrl+Page Up` (Eclipse), `Ctrl+Page Up` (Eclipse (macOS)). To move the caret to the bottom of your editor, press `Ctrl+Page Down` (Windows), `⌘ Page ↓` (macOS), `⌘ Page ↓` (IntelliJ IDEA Classic (macOS)), `⌘ Page ↓` (macOS System Shortcuts), `Ctrl+Page Down` (XWin), `Ctrl+Page Down` (GNOME), `Ctrl+Page Down` (KDE), `Ctrl+Page Down` (Emacs), `Ctrl+Page Down` (Sublime Text), `⌘ Page ↓` (Sublime Text (macOS)), `Ctrl+Page Down` (Visual Studio), `⌘ Page ↓` (Visual Studio (macOS)), `Meta+Page Down` (TextMate), `Alt+Shift+End` (NetBeans), `Ctrl+Page Down` (Eclipse), `Ctrl+Page Down` (Eclipse (macOS)).

* To navigate to the last edited location, press `Ctrl+Shift+Backspace` (Windows), `⌘ ⇧ ⌫` (macOS), `⌘ ⇧ ⌫` (IntelliJ IDEA Classic (macOS)), `⌘ ⇧ ⌫` (macOS System Shortcuts), `Ctrl+Shift+Backspace` (XWin), `Ctrl+Shift+Backspace` (GNOME), `Ctrl+Shift+Backspace` (KDE), `Ctrl+Shift+Backspace` (Emacs), `Ctrl+Shift+Backspace` (Sublime Text), `⌘ ⇧ ⌫` (Sublime Text (macOS)), `Ctrl+Shift+Backspace` (Visual Studio), `⌘ ⇧ ⌫` (Visual Studio (macOS)), `Meta+Shift+Backspace` (TextMate), `Ctrl+Shift+Backspace` (NetBeans), `Ctrl+Q` (Eclipse), `⌃ Q` (Eclipse (macOS)).

* To find the current caret location in the editor, press `Ctrl+M`. This action might be helpful if you do not want to scroll through a large file.

Alternatively, you can press `Up` (Windows), `↑` (macOS), `↑` (IntelliJ IDEA Classic (macOS)), `↑` (macOS System Shortcuts), `Up` (XWin), `Up` (GNOME), `Up` (KDE), `Up` (Emacs), `Up` (Sublime Text), `↑` (Sublime Text (macOS)), `Up` (Visual Studio), `↑` (Visual Studio (macOS)), `Up` (TextMate), `Up` (NetBeans), `Up` (Eclipse), `↑` (Eclipse (macOS)) and `Down` (Windows), `↓` (macOS), `↓` (IntelliJ IDEA Classic (macOS)), `↓` (macOS System Shortcuts), `Down` (XWin), `Down` (GNOME), `Down` (KDE), `Down` (Emacs), `Down` (Sublime Text), `↓` (Sublime Text (macOS)), `Down` (Visual Studio), `↓` (Visual Studio (macOS)), `Down` (TextMate), `Down` (NetBeans), `Down` (Eclipse), `↓` (Eclipse (macOS)) arrow keys to achieve the same result.

* To highlight a word at the caret you are trying to locate, select `Edit | Find | Next Occurrence of the Word at Caret` from the main menu. If you are using Windows, you can also press `Ctrl+F3`.

* To see on what element the caret is currently positioned, press `Alt+Q` (Windows), `⌃ ⇧ Q` (macOS), `⌃ ⇧ Q` (IntelliJ IDEA Classic (macOS)), `⌃ ⇧ Q` (macOS System Shortcuts), `Alt+Q` (XWin), `Alt+Q` (GNOME), `Alt+Q` (KDE), `Alt+Q` (Emacs), `Alt+Q` (Sublime Text), `Alt+Q` (Sublime Text (macOS)), `Alt+Q` (Visual Studio), `⌃ ⇧ Q` (Visual Studio (macOS)), `Ctrl+Shift+Q` (TextMate), `Alt+Q` (NetBeans), `Alt+Q` (Eclipse), `⌃ ⇧ Q` (Eclipse (macOS)).

* To move caret between matching code block braces, press `Ctrl+Shift+M` (Windows), `⌃ M` (macOS), `⌘ ⇧ M` (IntelliJ IDEA Classic (macOS)), `⌃ M` (macOS System Shortcuts), `Ctrl+Shift+M` (XWin), `Ctrl+Shift+M` (GNOME), `Ctrl+Shift+M` (KDE), `Ctrl+Shift+M` (Emacs), `Ctrl+M` (Sublime Text), `⌃ M` (Sublime Text (macOS)), `Ctrl+]` (Visual Studio), `⌘ ]` (Visual Studio (macOS)), `Meta+Shift+M` (TextMate), `Ctrl+Shift+M` (NetBeans), `Ctrl+Shift+P` (Eclipse), `⌃ M` (Eclipse (macOS)).

* To navigate between code blocks, press `Ctrl+[` (Windows), `⌘ ⌥ [` (macOS), `⌘ [` (IntelliJ IDEA Classic (macOS)), `⌘ ⌥ [` (macOS System Shortcuts), `Ctrl+[` (XWin), `Ctrl+[` (GNOME), `Ctrl+[` (KDE), `Ctrl+[` (Emacs), `Ctrl+[` (Sublime Text), `Ctrl+[` (Sublime Text (macOS)), `Alt+Shift+[` (Visual Studio), `⌘ ⌥ [` (Visual Studio (macOS)), `Ctrl+[` (TextMate), `Ctrl+[` (NetBeans), `Ctrl+[` (Eclipse), `⌘ ⌥ [` (Eclipse (macOS)) or `Ctrl+]` (Windows), `⌘ ⌥ ]` (macOS), `⌘ ]` (IntelliJ IDEA Classic (macOS)), `⌘ ⌥ ]` (macOS System Shortcuts), `Ctrl+]` (XWin), `Ctrl+]` (GNOME), `Ctrl+]` (KDE), `Ctrl+]` (Emacs), `Ctrl+]` (Sublime Text), `Ctrl+]` (Sublime Text (macOS)), `Ctrl+]` (Visual Studio), `⌘ ⌥ ]` (Visual Studio (macOS)), `Ctrl+]` (TextMate), `Ctrl+]` (NetBeans), `Ctrl+]` (Eclipse), `⌃ ]` (Eclipse (macOS)).

Procedure: Move the caret

You can use different actions to move the caret through code. You can also configure where the caret should stop when moved by words and on line breaks.

* To move the caret to the next word or the previous word, press `Ctrl+Right` (Windows), `⌥ →` (macOS), `⌥ →` (IntelliJ IDEA Classic (macOS)), `⌥ →` (macOS System Shortcuts), `Ctrl+Right` (XWin), `Ctrl+Right` (GNOME), `Ctrl+Right` (KDE), `Ctrl+Right` (Emacs), `Ctrl+Right` (Sublime Text), `⌥ →` (Sublime Text (macOS)), `Ctrl+Right` (Visual Studio), `⌥ →` (Visual Studio (macOS)), `Alt+Right` (TextMate), `Ctrl+Right` (NetBeans), `Ctrl+Right` (Eclipse), `⌥ →` (Eclipse (macOS)) or `Ctrl+Left` (Windows), `⌥ ←` (macOS), `⌥ ←` (IntelliJ IDEA Classic (macOS)), `⌥ ←` (macOS System Shortcuts), `Ctrl+Left` (XWin), `Ctrl+Left` (GNOME), `Ctrl+Left` (KDE), `Ctrl+Left` (Emacs), `Ctrl+Left` (Sublime Text), `⌥ ←` (Sublime Text (macOS)), `Ctrl+Left` (Visual Studio), `⌥ ←` (Visual Studio (macOS)), `Alt+Left` (TextMate), `Ctrl+Left` (NetBeans), `Ctrl+Left` (Eclipse), `⌥ ←` (Eclipse (macOS)).

By default, RubyMine moves the caret to the end of the current word. When you move the caret to the previous word, it is placed at the beginning of the current word.

You can customize the caret position for these actions.   In the Settings dialog (`Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Meta+Comma` (TextMate), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS))), go to `Editor | General`. In the [Caret Movement](settings-editor-general.html#move_caret) section, use the When moving by words and Upon line break options to configure the caret's behavior.

* To move the caret forward to the next paragraph or backward to the previous one, press `Ctrl+Shift+A` (Windows), `⌘ ⇧ A` (macOS), `⌘ ⇧ A` (IntelliJ IDEA Classic (macOS)), `⌘ ⇧ P` (macOS System Shortcuts), `Ctrl+Shift+A` (XWin), `Ctrl+Shift+A` (GNOME), `Ctrl+Shift+A` (KDE), `Escape, X` (Emacs), `Ctrl+Shift+P` (Sublime Text), `⌘ ⇧ P` (Sublime Text (macOS)), `Ctrl+Shift+A` (Visual Studio), `⌘ ⇧ A` (Visual Studio (macOS)), `Meta+Shift+A` (TextMate), `Ctrl+I` (NetBeans), `Ctrl+Shift+A` (Eclipse), `⌘ 3` (Eclipse (macOS)) and search for the Move Caret Forward a Paragraph or Move Caret Backward a Paragraph action.

You can also select a text and then move the caret forward or backward to a paragraph. Press `Ctrl+Shift+A` (Windows), `⌘ ⇧ A` (macOS), `⌘ ⇧ A` (IntelliJ IDEA Classic (macOS)), `⌘ ⇧ P` (macOS System Shortcuts), `Ctrl+Shift+A` (XWin), `Ctrl+Shift+A` (GNOME), `Ctrl+Shift+A` (KDE), `Escape, X` (Emacs), `Ctrl+Shift+P` (Sublime Text), `⌘ ⇧ P` (Sublime Text (macOS)), `Ctrl+Shift+A` (Visual Studio), `⌘ ⇧ A` (Visual Studio (macOS)), `Meta+Shift+A` (TextMate), `Ctrl+I` (NetBeans), `Ctrl+Shift+A` (Eclipse), `⌘ 3` (Eclipse (macOS)) and search for the Move Caret Forward a Paragraph with Selection or Move Caret Backward a Paragraph with Selection action.

> **Tip:**
> You can assign shortcuts to these actions. For more information, refer to [Configure keyboard shortcuts](configuring-keyboard-and-mouse-shortcuts.html).

Procedure: Find a line or column

1. In the editor, press `Ctrl+G` (Windows), `⌘ L` (macOS), `⌘ G` (IntelliJ IDEA Classic (macOS)), `⌘ L` (macOS System Shortcuts), `Ctrl+G` (XWin), `Ctrl+G` (GNOME), `Ctrl+G` (KDE), `Alt+G` (Emacs), `Ctrl+G` (Sublime Text), `⌃ G` (Sublime Text (macOS)), `Ctrl+G` (Visual Studio), `⌘ G` (Visual Studio (macOS)), `Meta+L` (TextMate), `Ctrl+G` (NetBeans), `Ctrl+L` (Eclipse), `⌘ L` (Eclipse (macOS)).

2. In the Go to Line/Column dialog, specify a line or column number, or both, separating them with : and click OK.

![Go to line/column dialog](https://resources.jetbrains.com/help/img/idea/2026.3/go_to_line_column.png)

3. If you do not want to see the line numbers in the editor,   in the Settings dialog (`Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Meta+Comma` (TextMate), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS))), go to `Editor | General | Appearance` and clear the Show line numbers checkbox.

> **Tip:**
> For quicker access, [assign a shortcut](settings-keymap.html)  to the Show line numbers action.

Procedure: Locate a code element with the Structure view popup

You can use the structure view popup to locate a code element in the file you are working on.

1. To open the structure view popup, press `Ctrl+F12` (Windows), `⌘ F12` (macOS), `⌘ F12` (IntelliJ IDEA Classic (macOS)), `⌘ ⇧ 7` (macOS System Shortcuts), `Ctrl+F12` (XWin), `Ctrl+F12` (GNOME), `Ctrl+0` (KDE), `Ctrl+F12` (Emacs), `Ctrl+R` (Sublime Text), `⌘ R` (Sublime Text (macOS)), `Alt+\` (Visual Studio), `⌥ \` (Visual Studio (macOS)), `Meta+F12` (TextMate), `Ctrl+F12` (NetBeans), `Ctrl+F3` (Eclipse), `⌘ O` (Eclipse (macOS)).

2. In the popup, locate an item you need. You can start typing a name of the element for RubyMine to narrow down the search. Press `Enter` (Windows), `⏎` (macOS), `⏎` (IntelliJ IDEA Classic (macOS)), `⏎` (macOS System Shortcuts), `Enter` (XWin), `Enter` (GNOME), `Enter` (KDE), `Enter` (Emacs), `Enter` (Sublime Text), `⏎` (Sublime Text (macOS)), `Enter` (Visual Studio), `⏎` (Visual Studio (macOS)), `Enter` (TextMate), `Enter` (NetBeans), `Enter` (Eclipse), `⏎` (Eclipse (macOS)) to return to the editor and the corresponding element.

## Navigate between code elements

Procedure: Go to declaration and its type

You can navigate to the initial declaration of a symbol and the symbol's type from its usage.

* Place the caret at the necessary symbol and press `Ctrl+B` (Windows), `⌘ B` (macOS), `⌘ B` (IntelliJ IDEA Classic (macOS)), `⌘ B` (macOS System Shortcuts), `Ctrl+B` (XWin), `Ctrl+B` (GNOME), `Ctrl+B` (KDE), `Ctrl+Alt+G` (Emacs), `F12` (Sublime Text), `F12` (Sublime Text (macOS)), `F12` (Visual Studio), `F12` (Visual Studio (macOS)), `Meta+B` (TextMate), `Ctrl+B` (NetBeans), `F3` (Eclipse), `F3` (Eclipse (macOS)).

Alternatively, use `Ctrl+Click` (Windows), `Ctrl+Click` (macOS), `Ctrl+Click` (IntelliJ IDEA Classic (macOS)), `Ctrl+Click` (macOS System Shortcuts), `Ctrl+Click` (XWin), `Ctrl+Click` (GNOME), `Ctrl+Click` (KDE), `Ctrl+Click` (Emacs), `Ctrl+Click` (Sublime Text), `Ctrl+Click` (Sublime Text (macOS)), `Ctrl+Click` (Visual Studio), `Ctrl+Click` (Visual Studio (macOS)), `Ctrl+Click` (TextMate), `Ctrl+Click` (NetBeans), `Ctrl+Click` (Eclipse), `Ctrl+Click` (Eclipse (macOS)): keeping `Ctrl` (Windows), `Ctrl` (macOS), `Ctrl` (IntelliJ IDEA Classic (macOS)), `Ctrl` (macOS System Shortcuts), `Ctrl` (XWin), `Ctrl` (GNOME), `Ctrl` (KDE), `Ctrl` (Emacs), `Ctrl` (Sublime Text), `Ctrl` (Sublime Text (macOS)), `Ctrl` (Visual Studio), `Ctrl` (Visual Studio (macOS)), `Ctrl` (TextMate), `Ctrl` (NetBeans), `Ctrl` (Eclipse), `Ctrl` (Eclipse (macOS)) pressed, hover over the symbol. When the symbol turns into a hyperlink, its declaration will be displayed in the tooltip. Click the hyperlink without releasing the key to open the declaration in the editor.

![Go to declaration](https://resources.jetbrains.com/help/img/idea/2026.3/rm_get_started_navigate_go_declaration_library.animated.gif)

* For a type declaration, press `Ctrl+Shift+B` (Windows), `⌘ ⇧ B` (macOS), `⌃ ⇧ B` (IntelliJ IDEA Classic (macOS)), `⌘ ⇧ B` (macOS System Shortcuts), `Ctrl+Shift+B` (XWin), `Ctrl+Shift+B` (GNOME), `Ctrl+Shift+B` (KDE), `Ctrl+Shift+B` (Emacs), `Ctrl+Shift+B` (Sublime Text), `Ctrl+Shift+B` (Sublime Text (macOS)), `Ctrl+Shift+F11` (Visual Studio), `⌘ ⇧ F11` (Visual Studio (macOS)), `Ctrl+Shift+B` (TextMate), `Ctrl+Shift+B` (NetBeans), `Ctrl+Shift+B` (Eclipse), `Ctrl+Shift+B` (Eclipse (macOS)).

Procedure: Go to implementation

You can keep track of class implementations and overriding methods using the gutter icons in the editor, or by pressing the appropriate shortcuts, or by clicking Inheritors inlay hints.

* Click one of the ![the Implemented method icon](https://resources.jetbrains.com/help/img/idea/2026.3/app-client.expui.gutter.implementedMethod.svg) / ![the Implementing method icon](https://resources.jetbrains.com/help/img/idea/2026.3/app-client.expui.gutter.implementingMethod.svg) , ![the Overridden method icon](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.gutter.overridenMethod.svg) /![the Overriding method icon](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.gutter.overridingMethod.svg) gutter icons located in the editor and select an ascendant or descendant class from the list.

* To navigate to the super method, press `Ctrl+U` (Windows), `⌘ U` (macOS), `⌘ U` (IntelliJ IDEA Classic (macOS)), `⌘ U` (macOS System Shortcuts), `Ctrl+U` (XWin), `Ctrl+U` (GNOME), `Ctrl+U` (KDE), `Ctrl+U` (Emacs), `Ctrl+U` (Sublime Text), `⌘ U` (Sublime Text (macOS)), `Alt+Home` (Visual Studio), `⌃ ⌥ ←` (Visual Studio (macOS)), `Meta+U` (TextMate), `Ctrl+Shift+P` (NetBeans), `Ctrl+U` (Eclipse), `Ctrl+U` (Eclipse (macOS)).

* To navigate to the implementation, press `Ctrl+Alt+B` (Windows), `⌘ ⌥ B` (macOS), `⌘ ⌥ B` (IntelliJ IDEA Classic (macOS)), `⌘ ⌥ B` (macOS System Shortcuts), `Ctrl+Alt+B` (XWin), `Ctrl+Alt+B` (GNOME), `Ctrl+Alt+B` (KDE), `Ctrl+Alt+B` (Emacs), `Ctrl+Alt+B` (Sublime Text), `⌘ ⌥ B` (Sublime Text (macOS)), `Alt+End` (Visual Studio), `⌘ ⌥ Click` (Visual Studio (macOS)), `Meta+Alt+Click` (TextMate), `Ctrl+Alt+B` (NetBeans), `Ctrl+T` (Eclipse), `Ctrl+Alt+B` (Eclipse (macOS)).

* Use Inheritors hints that are displayed next to a class or an interface and show the number of its descendants. Click the hint to jump to the descendant. If there are several implementations, select the relevant one from the list.

Inheritors inlay hints are enabled by default. To turn them off,  hover over a hint and select Hide 'Code Vision: Inheritors' Inlay Hints or Hide All 'Code Vision' Inlay Hints from the context menu.

![Hide Inheritors hints in the editor](https://resources.jetbrains.com/help/img/idea/2026.3/ws_code_vision_inheritor_hide.png)

By default, Inheritors  hints are shown above classes and interfaces. To change this position, click Configure from the context menu of a hint.

![Inheritors hints: configure position](https://resources.jetbrains.com/help/img/idea/2026.3/ws_code_vision_configure.png)

On the Inlay Hints page, that opens, select the appropriate setting from the Position list. Alternatively, select the Code vision node and change the Default position for metrics.

![Code vision: configure position in the Settings dialog](https://resources.jetbrains.com/help/img/idea/2026.3/rm_code_vision_default_settings.png)

Procedure: Navigate between errors or warnings

* To jump to the next or previous found issue in your code, press `F2` (Windows), `F2` (macOS), `F2` (IntelliJ IDEA Classic (macOS)), `⌃ Comma` (macOS System Shortcuts), `F2` (XWin), `F2` (GNOME), `F2` (KDE), `F2` (Emacs), `F2` (Sublime Text), `F2` (Sublime Text (macOS)), `Alt+Page Down` (Visual Studio), `⌥ Page ↓` (Visual Studio (macOS)), `F2` (TextMate), `F2` (NetBeans), `F2` (Eclipse), `⌘ .` (Eclipse (macOS)) or `Shift+F2` (Windows), `⇧ F2` (macOS), `⇧ F2` (IntelliJ IDEA Classic (macOS)), `⌃ ⇧ Comma` (macOS System Shortcuts), `Shift+F2` (XWin), `Shift+F2` (GNOME), `Shift+F2` (KDE), `Shift+F2` (Emacs), `Shift+F2` (Sublime Text), `Shift+F2` (Sublime Text (macOS)), `Alt+Page Up` (Visual Studio), `⌥ Page ↑` (Visual Studio (macOS)), `Shift+F2` (TextMate), `Shift+F2` (NetBeans), `Shift+F1` (Eclipse), `⌘ ⇧ .` (Eclipse (macOS)) respectively. Alternatively, go to `Navigate | Next / Previous Highlighted Error` in the main menu.

RubyMine places the caret immediately before the code issue.

* Configure the way RubyMine navigates between code issues: it can either jump between all code issues or skip minor issues and only navigate between detected errors. Right-click the code analysis marker in the scroll bar area and choose one of the available navigation modes from the context menu:

* To have RubyMine skip warnings, infos, and other minor issues, choose Problems with Highest Priority.

* To have RubyMine jump between all detected code issues, choose All Problems.

Procedure: Browse through methods

* Press `Alt+Down` (Windows), `⌃ ⇧ ↓` (macOS), `⌃ ↓` (IntelliJ IDEA Classic (macOS)), `⌃ ⌥ ↓` (macOS System Shortcuts), `Alt+Down` (XWin), `Alt+Down` (GNOME), `Alt+Down` (KDE), `Alt+Down` (Emacs), `Alt+Down` (Sublime Text), `Alt+Down` (Sublime Text (macOS)), `Alt+Down` (Visual Studio), `⌃ ⇧ ↓` (Visual Studio (macOS)), `Ctrl+Down` (TextMate), `Ctrl+Alt+Down` (NetBeans), `Ctrl+Shift+Down` (Eclipse), `⌃ ⌥ ↓` (Eclipse (macOS)) or `Alt+Up` (Windows), `⌃ ⇧ ↑` (macOS), `⌃ ↑` (IntelliJ IDEA Classic (macOS)), `⌃ ⌥ ↑` (macOS System Shortcuts), `Alt+Up` (XWin), `Alt+Up` (GNOME), `Alt+Up` (KDE), `Alt+Up` (Emacs), `Alt+Up` (Sublime Text), `Alt+Up` (Sublime Text (macOS)), `Alt+Up` (Visual Studio), `⌃ ⇧ ↑` (Visual Studio (macOS)), `Ctrl+Up` (TextMate), `Ctrl+Alt+Up` (NetBeans), `Ctrl+Shift+Up` (Eclipse), `⌃ ⌥ ↑` (Eclipse (macOS)).

* To visually separate methods in code,   in the Settings dialog (`Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Meta+Comma` (TextMate), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS))), go to `Editor | General | Appearance` and select the Show method separators option.

![Method Separators in Editor](https://resources.jetbrains.com/help/img/idea/2026.3/rm_methods_separators.png)

* To open the Structure tool window, press `Alt+7` (Windows), `⌘ 7` (macOS), `⌘ 7` (IntelliJ IDEA Classic (macOS)), `⌘ 7` (macOS System Shortcuts), `Alt+7` (XWin), `Alt+7` (GNOME), `Alt+7` (KDE), `Alt+7` (Emacs), `Alt+7` (Sublime Text), `⌘ 7` (Sublime Text (macOS)), `Ctrl+Alt+F` (Visual Studio), `⌃ ⌥ F` (Visual Studio (macOS)), `Meta+7` (TextMate), `Ctrl+7` (NetBeans), `Alt+7` (Eclipse), `⌘ 7` (Eclipse (macOS)).

## Navigation in SQL code and files

> **Note:**
> This functionality relies on the [Database Tools and SQL](https://plugins.jetbrains.com/plugin/10925-database-tools-and-sql-for-webstorm--rustrover)  plugin, which   you need to install and enable.   For more information, refer to [Open plugin settings](managing-plugins.html#open-plugin-settings).

Procedure: Go from a reference to an object in the Database tool window

* To go to the definition of a column, table or any other object, select the object name in your code and press `Alt+Shift+B` (Windows), `Alt+Shift+B` (macOS), `Alt+Shift+B` (IntelliJ IDEA Classic (macOS)), `Alt+Shift+B` (macOS System Shortcuts), `Alt+Shift+B` (XWin), `Alt+Shift+B` (GNOME), `Alt+Shift+B` (KDE), `Alt+Shift+B` (Emacs), `Alt+Shift+B` (Sublime Text), `Alt+Shift+B` (Sublime Text (macOS)), `Alt+Shift+B` (Visual Studio), `Alt+Shift+B` (Visual Studio (macOS)), `Alt+Shift+B` (TextMate), `Alt+Shift+B` (NetBeans), `Alt+Shift+B` (Eclipse), `Alt+Shift+B` (Eclipse (macOS)).

[Video](https://resources.jetbrains.com/help/img/idea/2026.3/highlight_object_in_the_db_tool_window.mp4)

Procedure: Open a DDL definition of an object

In RubyMine, you can open and [edit the source code of a database object](modifying-source-code-of-database-objects.html#edit_source_code_of_an_object) directly in the editor. The source code can be opened from the editor or   Database   tool window .

* In the editor, click an object and select `Go To | Declaration or Usages`. Alternatively, press `Ctrl+B` (Windows), `⌘ B` (macOS), `⌘ B` (IntelliJ IDEA Classic (macOS)), `⌘ B` (macOS System Shortcuts), `Ctrl+B` (XWin), `Ctrl+B` (GNOME), `Ctrl+B` (KDE), `Ctrl+Alt+G` (Emacs), `F12` (Sublime Text), `F12` (Sublime Text (macOS)), `F12` (Visual Studio), `F12` (Visual Studio (macOS)), `Meta+B` (TextMate), `Ctrl+B` (NetBeans), `F3` (Eclipse), `F3` (Eclipse (macOS)).

[Video](https://resources.jetbrains.com/help/img/idea/2026.3/db_goto_declaration.mp4)

* In the   Database   tool window , do one of the following:

1. Click the DDL button on the toolbar.

2. Click an object and select `Navigation | Go to DDL`.

3. Press `Ctrl+B` (Windows), `⌘ B` (macOS), `⌘ B` (IntelliJ IDEA Classic (macOS)), `⌘ B` (macOS System Shortcuts), `Ctrl+B` (XWin), `Ctrl+B` (GNOME), `Ctrl+B` (KDE), `Ctrl+Alt+G` (Emacs), `F12` (Sublime Text), `F12` (Sublime Text (macOS)), `F12` (Visual Studio), `F12` (Visual Studio (macOS)), `Meta+B` (TextMate), `Ctrl+B` (NetBeans), `F3` (Eclipse), `F3` (Eclipse (macOS)).

[Video](https://resources.jetbrains.com/help/img/idea/2026.3/view_ddl_definition_of_db_object.mp4)

Procedure: Switch between files using the switcher

* With the switcher, you can switch between open files, query consoles, and tool windows.

To open the Switcher window, press `Ctrl+Tab` (Windows), `⌃ ⇥` (macOS), `⌃ ⇥` (IntelliJ IDEA Classic (macOS)), `⌃ ⇥` (macOS System Shortcuts), `Ctrl+Tab` (XWin), `Ctrl+Tab` (GNOME), `Ctrl+Tab` (KDE), `Ctrl+X, B` (Emacs), `Ctrl+Tab` (Sublime Text), `⌃ ⇥` (Sublime Text (macOS)), `Ctrl+Tab` (Visual Studio), `⌃ ⇥` (Visual Studio (macOS)), `Ctrl+Tab` (TextMate), `Ctrl+Tab` (NetBeans), `Ctrl+Tab` (Eclipse), `⌃ ⇥` (Eclipse (macOS)). Do not release the `Ctrl` key. Use arrow keys to move in the Switcher window. When you release the `Ctrl` (Windows), `Ctrl` (macOS), `Ctrl` (IntelliJ IDEA Classic (macOS)), `Ctrl` (macOS System Shortcuts), `Ctrl` (XWin), `Ctrl` (GNOME), `Ctrl` (KDE), `Ctrl` (Emacs), `Ctrl` (Sublime Text), `Ctrl` (Sublime Text (macOS)), `Ctrl` (Visual Studio), `Ctrl` (Visual Studio (macOS)), `Ctrl` (TextMate), `Ctrl` (NetBeans), `Ctrl` (Eclipse), `Ctrl` (Eclipse (macOS)) key, the selected item becomes active, and the switcher closes.

![the Switcher](https://resources.jetbrains.com/help/img/idea/2026.3/using_switcher.png)

> **Tip:**
> Also, you can use `Ctrl+Tab` (Windows), `⌃ ⇥` (macOS), `⌃ ⇥` (IntelliJ IDEA Classic (macOS)), `⌃ ⇥` (macOS System Shortcuts), `Ctrl+Tab` (XWin), `Ctrl+Tab` (GNOME), `Ctrl+Tab` (KDE), `Ctrl+X, B` (Emacs), `Ctrl+Tab` (Sublime Text), `⌃ ⇥` (Sublime Text (macOS)), `Ctrl+Tab` (Visual Studio), `⌃ ⇥` (Visual Studio (macOS)), `Ctrl+Tab` (TextMate), `Ctrl+Tab` (NetBeans), `Ctrl+Tab` (Eclipse), `⌃ ⇥` (Eclipse (macOS)) to go down the list, and `Ctrl+Tab` (Windows), `⌃ ⇥` (macOS), `⌃ ⇥` (IntelliJ IDEA Classic (macOS)), `⌃ ⇥` (macOS System Shortcuts), `Ctrl+Tab` (XWin), `Ctrl+Tab` (GNOME), `Ctrl+Tab` (KDE), `Ctrl+X, B` (Emacs), `Ctrl+Tab` (Sublime Text), `⌃ ⇥` (Sublime Text (macOS)), `Ctrl+Tab` (Visual Studio), `⌃ ⇥` (Visual Studio (macOS)), `Ctrl+Tab` (TextMate), `Ctrl+Tab` (NetBeans), `Ctrl+Tab` (Eclipse), `⌃ ⇥` (Eclipse (macOS)) with the additional `Shift` (Windows), `Shift` (macOS), `Shift` (IntelliJ IDEA Classic (macOS)), `Shift` (macOS System Shortcuts), `Shift` (XWin), `Shift` (GNOME), `Shift` (KDE), `Shift` (Emacs), `Shift` (Sublime Text), `Shift` (Sublime Text (macOS)), `Shift` (Visual Studio), `Shift` (Visual Studio (macOS)), `Shift` (TextMate), `Shift` (NetBeans), `Shift` (Eclipse), `Shift` (Eclipse (macOS)) to go up the list.

> **Note:**
> On macOS, a combination of `Ctrl` and arrow keys are shortcuts that are used for the Mission control functionality. To use the switcher, change the shortcuts in the macOS system settings.

## See also

### Language and Framework-Specific Guidelines

[Rails navigation](product-specific-navigation.html)

