mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
no more word completion autopopup, even in plain text (IDEA-64781)
This commit is contained in:
@@ -32,11 +32,6 @@ public class JavaWordCompletionFilter implements WordCompletionElementFilter {
|
||||
JavaDocTokenType.DOC_COMMENT_DATA, JavaTokenType.STRING_LITERAL);
|
||||
|
||||
public boolean isWordCompletionEnabledIn(final IElementType element) {
|
||||
final CompletionProcess process = CompletionService.getCompletionService().getCurrentCompletion();
|
||||
if (process != null && process.isAutopopupCompletion()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return ENABLED_TOKENS.contains(element);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user