void (@NotNull EditorTextField name, @NotNull EditorTextField comment) { Document document = name.getDocument(); final TaskAutoCompletionListProvider completionProvider = new TaskAutoCompletionListProvider(myProject); TextFieldWithAutoCompletion.installCompletion(document, myProject, completionProvider, false); }