mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
don't autopopup completion in combo editors
This commit is contained in:
+5
@@ -31,6 +31,11 @@ public class ComboEditorCompletionContributor extends CompletionContributor{
|
||||
|
||||
@Override
|
||||
public void fillCompletionVariants(final CompletionParameters parameters, final CompletionResultSet result) {
|
||||
final CompletionProcess process = CompletionService.getCompletionService().getCurrentCompletion();
|
||||
if (process != null && process.isAutopopupCompletion()) {
|
||||
return;
|
||||
}
|
||||
|
||||
final PsiFile file = parameters.getOriginalFile();
|
||||
final Document document = PsiDocumentManager.getInstance(file.getProject()).getDocument(file);
|
||||
if (document != null) {
|
||||
|
||||
Reference in New Issue
Block a user