DataGrip 2018.2 Help

Auto Import

File | Settings | Editor | General | Auto Import for Windows and Linux
DataGrip | Preferences | Editor | General | Auto Import for macOS
Ctrl+Alt+S icons general settings svg

XML / Show import popupAutomatically display an import popup dialog box when typing the name of an unbound namespace.


Update imports on paste Select how DataGrip should process references to missing symbols in pasted blocks of Dart code:
  • All — DataGrip will insert import statements automatically for all missing symbols in pasted code.
  • Ask — you will be prompted to select the symbol to import.
  • None — DataGrip will not add any import statements automatically, you can invoke import generation by pressing Alt+Enter at the unresolved reference and choosing Import <symbol name> from the list.
Last modified: 17 August 2018