DataGrip 2017.1 Help

Code Editor

Code editor, or simply the editor, lets you write your code and perform related tasks.


Editor tabs. Each file or console opens on its own tab. Use Alt+Right and Alt+Left to switch between the tabs, and Ctrl+F4 for closing a tab. More commands for working with the tabs are available in their context menus.

Editing area. In addition to typing, use the commands of the context menu and also of the following menus: Code, Edit, Navigate and Refactor.

/help/img/idea/2017.1/intentionBulb.png indicates that DataGrip has suggestions for the current cursor position. Click /help/img/idea/2017.1/intentionBulb.png or press Alt+Enter to see those suggestions.

See also, Composing SQL statements.

Left margin is used to provide additional info. Look at the commands of the associated context menu to see what info can be shown.

The left margin also holds code folding markers that let you collapse (/help/img/idea/2017.1/foldingMinusStart.png and /help/img/idea/2017.1/foldingMinusEnd.png) and expand (/help/img/idea/2017.1/foldingPlus.gif) the corresponding code blocks.

Code validation marker reflects the quality of your code. Point to the marker to see the summary info.

Navigation stripes let you switch to "interesting" code fragments including the ones that need your attention. Point to a stripe to see a summary for corresponding fragment, e.g. a problem description. Click a stripe to switch to the corresponding fragment. Right-click the scroll bar or the area where it may appear to open the corresponding customization menu.

See Also

Last modified: 27 July 2017