DataGrip 2017.2 Help

Code editor

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


/help/img/idea/2017.2/number_one_grey.png 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.

/help/img/idea/2017.2/number_two_grey.png 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.2/intentionBulb.png indicates that DataGrip has suggestions for the current cursor position. Click /help/img/idea/2017.2/intentionBulb.png or press Alt+Enter to see those suggestions.

See also, Composing SQL statements.

/help/img/idea/2017.2/number_three_grey.png 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.2/foldingMinusStart.png and /help/img/idea/2017.2/foldingMinusEnd.png) and expand (/help/img/idea/2017.2/foldingPlus.gif) the corresponding code blocks.

/help/img/idea/2017.2/number_four_grey.png Code validation marker reflects the quality of your code. Point to the marker to see the summary info.

/help/img/idea/2017.2/number_five_grey.png 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.

Last modified: 25 October 2017

See Also