DataGrip 2017.2 Help

Navigation basics

This is a very brief outline of the features that DataGrip offers for navigation.

Jumping from a reference to a definition

To jump to the definition of a column, table or other item, press Ctrl+B or select Navigate | Declaration.

/help/img/idea/2017.2/038DBEFromReferenceToDeclaration.png

Alternatively, press Ctrl or and point to the reference of interest. When the reference turns into a hyperlink, click the hyperlink.

Switching to a different view of an item

To see a column, table or other item in a different view, press Alt+F1 or click Navigate | Select In, and select the view. In this way, you can switch from the editor to the Database, Files or Structure tool window, from the Database tool window to the navigation bar, etc.

/help/img/idea/2017.2/040DBEToDBToolWindow.png

Using the navigation bar

The navigation bar - the bar above the tool windows and the editor - shows a path from some root element (e.g. the Database tool window or your working folder) to the current item (e.g. a column or a table, or a file). It lets you move along this path, see the contents of the items, and select and open the items in the editors.

/help/img/idea/2017.2/043DBEToNavBarResult.png

Use:

  • Alt+Home or Navigate | Jump to Navigation Bar to switch to the current item on the navigation bar.
  • Left and Right to move left and right.
  • Down to see the item contents.
  • Enter to select an item and, if appropriate, to open that item in an editor.
/help/img/idea/2017.2/045DBESelectFileOnNavBarResult.png

Using the Switcher

The Switcher lets you switch between open files and consoles, and the tool windows.

To open the Switcher, hold down the Ctrl key and press Tab. Don't release the Ctrl key. Use the arrow keys to move in the Switcher.

/help/img/idea/2017.2/047DBESwitcherFiles.png

When you release the Ctrl key, the selected item becomes active, and the Switcher closes.

Jumping to source

When in the Files tool window, use F4 or View | Jump to Source to open files in the editor.

/help/img/idea/2017.2/000DBEJumpToSource.png

When in the Database tool window, F4 or View | Jump to Source opens the data editor for a table. To jump to source code for an item, i.e. its definition, use Ctrl+B or /help/img/idea/2017.2/iconDBEditDDLSource.png on the toolbar.

Last modified: 9 October 2017