DataGrip
 
Get DataGrip
You are viewing the documentation for an earlier version of DataGrip.

Source file structure

Last modified: 08 September 2023

By default, DataGrip shows all objects, queries, and other elements of the current file. To toggle the elements you want to show, click the corresponding buttons on the Structure tool window toolbar. For example, click the DDL statements icon the DDL statements icon to see all DDL statements in the opened file.

To see a reference on possible icons in the Structure tool window, see Data sources and their elements.

Structure tool window

You can also see the VCS status color hints in the Structure tool window if your project is under version control. It helps you to make tracking changes in files more convenient. The names of modified objects become blue, and the names of the newly added objects appear in the tool window highlighted in green.

Highlighting changes in files