use of com.intellij.tasks.actions.TaskAutoCompletionListProvider in project intellij-community by JetBrains.
the class TaskCompletionTest method configureFile.
private void configureFile(String text) {
PsiFile psiFile = myFixture.configureByText("test.txt", text);
Document document = myFixture.getDocument(psiFile);
final Project project = getProject();
TextFieldWithAutoCompletion.installCompletion(document, project, new TaskAutoCompletionListProvider(project), false);
document.putUserData(CommitMessage.DATA_KEY, new CommitMessage(project));
}
use of com.intellij.tasks.actions.TaskAutoCompletionListProvider in project intellij-community by JetBrains.
the class TaskChangelistSupport method installSearch.
public void installSearch(EditorTextField name, final EditorTextField comment) {
Document document = name.getDocument();
final TaskAutoCompletionListProvider completionProvider = new TaskAutoCompletionListProvider(myProject);
TextFieldWithAutoCompletion.installCompletion(document, myProject, completionProvider, false);
}
Aggregations