void (@NotNull EditorImpl editor) { DaemonCodeAnalyzerSettings.getInstance().setImportHintEnabled(true); VisibleHighlightingPassFactory.setVisibleRangeForHeadlessMode(editor, new ProperTextRange(0, editor.getDocument().getTextLength())); }