# Definition and type definition

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

In GoLand, you can see where and how symbols, such as  structs, interfaces, methods, or functions   are defined in your project. For this purpose, the IDE features the Quick Definition popup.

![Quick Definition popup](https://resources.jetbrains.com/help/img/idea/2026.3/go_quickDefinitionLookup.png)

Procedure: View definition of a symbol at caret

* Place the caret at a symbol in the editor and press `Ctrl+Shift+I` (Windows), `⌥ Space` (macOS), `⌘ ⇧ I` (IntelliJ IDEA Classic (macOS)), `⌘ Y` (macOS System Shortcuts), `Ctrl+Shift+I` (XWin), `Ctrl+Shift+I` (GNOME), `Ctrl+Shift+I` (KDE), `Ctrl+Shift+I` (Emacs), `Ctrl+Shift+I` (Sublime Text), `⌥ Space` (Sublime Text (macOS)), `Alt+F12` (VSCode), `⌥ Space` (VSCode (macOS)) (or click `View | Quick Definition` in the main menu). You can also   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+P` (VSCode), `F1` (VSCode (macOS)), start typing `Quick Definition` , then select the action from the list.

* Alternatively, with 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` (VSCode), `Ctrl` (VSCode (macOS)) key pressed, hover over any symbol. GoLand displays the symbol as a link and shows its definition in a tooltip. Click this link to jump to the definition of the symbol.

![Jump to the selected definition](https://resources.jetbrains.com/help/img/idea/2026.3/go_view_definition.png)

You can open a definition in the Find tool window. To do so, click the ![Options](https://resources.jetbrains.com/help/img/idea/2026.3/app.actions.more.svg) icon in the top-right corner of the popup and click ![Open in Find tool window](https://resources.jetbrains.com/help/img/idea/2026.3/app.actions.moveToBottomLeft.svg) Open in Find Tool Window.

To open the source code of the definition for editing and close the popup, click the ![Options](https://resources.jetbrains.com/help/img/idea/2026.3/app-client.expui.general.moreVertical.svg) icon and then click ![Edit](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.general.edit.svg) Edit Source (`F4` (Windows), `⌘ ↓` (macOS), `F4` (IntelliJ IDEA Classic (macOS)), `F4` (macOS System Shortcuts), `F4` (XWin), `F4` (GNOME), `F4` (KDE), `F4` (Emacs), `F4` (Sublime Text), `F4` (Sublime Text (macOS)), `F4` (VSCode), `F4` (VSCode (macOS))).

## Toolbar of the quick definition lookup

Use the icons on the toolbar of the popup to navigate to the source code of the definition and view its usages.

| Icon | Keyboard shortcut | Action |
| --- | --- | --- |
|  ![](https://resources.jetbrains.com/help/img/idea/2026.3/app.actions.back.svg) ![](https://resources.jetbrains.com/help/img/idea/2026.3/app.actions.forward.svg)  |  `Alt+Shift+Left` (Windows), `⌃ ⇧ ←` (macOS), `⌃ ⇧ ←` (IntelliJ IDEA Classic (macOS)), `⌃ ⇧ ←` (macOS System Shortcuts), `Alt+Shift+Left` (XWin), `Alt+Shift+Left` (GNOME), `Alt+Shift+Left` (KDE), `Alt+Shift+Left` (Emacs), `Alt+Shift+Left` (Sublime Text), `⌃ ⇧ ←` (Sublime Text (macOS)), `Alt+Shift+Left` (VSCode), `⌃ ⇧ ←` (VSCode (macOS)), `Alt+Shift+Right` (Windows), `⌃ ⇧ →` (macOS), `⌃ ⇧ →` (IntelliJ IDEA Classic (macOS)), `⌃ ⇧ →` (macOS System Shortcuts), `Alt+Shift+Right` (XWin), `Alt+Shift+Right` (GNOME), `Alt+Shift+Right` (KDE), `Alt+Shift+Right` (Emacs), `Alt+Shift+Right` (Sublime Text), `⌃ ⇧ →` (Sublime Text (macOS)), `Alt+Shift+Right` (VSCode), `⌃ ⇧ →` (VSCode (macOS))  | Navigate to the previous/next screen in the definition popup after using hyperlinks in the definition.    > **Note:** > On a macOS computer, you > > can also use the three-finger right-to-left and left-to-right swipe gestures.     |
| ![](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.general.edit.svg) | `F4` (Windows), `⌘ ↓` (macOS), `F4` (IntelliJ IDEA Classic (macOS)), `F4` (macOS System Shortcuts), `F4` (XWin), `F4` (GNOME), `F4` (KDE), `F4` (Emacs), `F4` (Sublime Text), `F4` (Sublime Text (macOS)), `F4` (VSCode), `F4` (VSCode (macOS)) | Open the source code of the definition for editing, and close the quick definition lookup window.                    |
| ![View the definition source code](https://resources.jetbrains.com/help/img/idea/2026.3/app.actions.preview.svg) | `Ctrl+Enter` (Windows), `⌘ ⏎` (macOS), `⌘ ⏎` (IntelliJ IDEA Classic (macOS)), `⌘ ⏎` (macOS System Shortcuts), `Ctrl+Enter` (XWin), `Ctrl+Enter` (GNOME), `Ctrl+Enter` (KDE), `Ctrl+Enter` (Emacs), `Ctrl+Enter` (Sublime Text), `⌘ ⏎` (Sublime Text (macOS)), `Ctrl+Enter` (VSCode), `Ctrl+Enter` (VSCode (macOS)) | Open the source code of the definition, and preserve the quick definition lookup window opened.   |

## See also

### Procedures

### Reference

