Menus and toolbars
DataGrip menus and toolbars contain commands that affect the entire project or large sections of the project. To apply a command to the current context, use context-sensitive popup menus. Most of the commands have an associated keyboard shortcut to enable quicker access to it.
Use menu items with a checkbox in the View | Toolbar.menu to show or hide the main elements of the DataGrip window. For example, if you want to show the main toolbar, select
Main elements of DataGrip window
- 1. Main menu
By using the main menu, you can open and create projects, refactor the code, keep files under version control, or run other commands.
DataGrip for Linux features the Macintosh-style menu – a horizontal menu bar attached to the top of the screen.
The native (global) menu is enabled in the Unity desktop environment out of the box. If you use another desktop environment, make sure that the global menu is supported and enable it manually.
- 2. Main toolbar
- The main toolbar contains buttons that duplicate the essential commands for quicker access.
By default, the main toolbar is hidden. To display it, selecton the main menu.
- 3. Navigation bar
- The Navigation bar is an alternative to the Database tool window.
- 4. Context menus
- Context menus, available with right-click, contain commands applicable to the current context.
- 5. Popup menus
- Popup menus that are available with Alt+Insert contain commands applicable to the current context.
Tips and tricks
Show or hide the main elements of the DataGrip UI by using themenu.
Descriptions of the actions from menus and toolbar buttons are displayed in the left side of the Status bar.
If you know which action you want to perform, but do not know where to find it, press Ctrl+Shift+A, type the action name, and select it from the suggestion list.
The Linux native menu
In DataGrip for Linux, you can use the Macintosh-style menu – a horizontal menu bar attached to the top of the screen. By default, the Linux native menu is enabled.
Disable the native menu
Press Ctrl+Shift+A to open the Find Action dialog, type
Experimental features, and press Enter.
Clear the checkbox next to the linux.native.menu option, apply the changes, and close the dialog.