DataGrip 2018.1 Help

Code Completion

File | Settings | Editor | General | Code Completion for Windows and Linux
DataGrip | Preferences | Editor | General | Code Completion for macOS
Ctrl+Alt+S settings


Use this page to configure the code completion, and parameter information settings.

ItemDescription
Code Completion
Case sensitive completionFrom this drop-down list, select the degree to which you want DataGrip to take into consideration the case sensitivity when suggesting matches for code completion. The available options are:
  • All: The lookup list includes only those items that match the case of all typed letters. This option is most restrictive.
  • None: The lookup list includes all matches regardless of their case.
  • First letter: The lookup list includes only the items with the first letter matching.
Auto-insert when only one choice on:When the checkboxes in this section are selected, DataGrip doesn't show a lookup list for the corresponding completion type in cases when only one variant of code completion is available, and completes code automatically.
Sort lookup items lexicographicallyIf this checkbox is selected, the entries in the suggestion list will be sorted according to their lexical order.
If this checkbox is not selected, the entries in the suggestion list will be sorted by relevance.

Note that the checkbox defines the default behavior. You can change it any time by clicking the a icon or pi icon icons in the suggestion list.

Autopopup code completionSelect this checkbox, if you want suggestion list to appear after typing anything.

If the checkbox is not selected, DataGrip will not suggest code completion automatically.

Insert selected variant by typing dot, space, etc.If this checkbox is selected, code is completed by pressing certain character: comma, colon, semicolon, opening parentheses of the various kinds, equality sign, asterisk. This option is turned off by default.
Autopopup documentation (ms)
For explicitly invoked completion
Select this checkbox to have DataGrip automatically show a pop-up window with the documentation for the class, method, or field currently highlighted in the lookup list.

In the text field to the right, specify the delay (in milliseconds), after which the pop-up window should appear.

If this checkbox is not selected, use Ctrl+Q to show quick documentation for the element at caret.

Quick documentation window will automatically pop up with the specified delay in those cases only, when code completion has been invoked explicitly. For the automatic code completion list, documentation window will only show up on pressing Ctrl+Q

Parameter Info
Autopopup in (ms)Select this checkbox to have DataGrip automatically show a pop-up window with all available method signatures, when an opening bracket is typed in the editor, or a method is selected from the lookup list.

In the text field to the right, specify the delay (in milliseconds) after when the pop-up window should appear.

If this checkbox is not selected, use Ctrl+P to show the parameter info.

Show full signaturesIf this checkbox is selected, the parameter info displays full signatures, including the method name and returned type.
Last modified: 25 July 2018