mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[terminal] IDEA-344353 Do not show completion after typing space
GitOrigin-RevId: 4928d9b756105f4d05b1a68a8845e46e580f1d41
This commit is contained in:
committed by
intellij-monorepo-bot
parent
165421c59d
commit
73fb7acefc
+2
-2
@@ -15,7 +15,7 @@ import java.io.File
|
||||
|
||||
/**
|
||||
* Logic is mostly copied from [com.intellij.codeInsight.editorActions.CompletionAutoPopupHandler].
|
||||
* Added additional characters to trigger auto popup (' ', '-', '/').
|
||||
* Added additional characters to trigger auto popup ('-', '/').
|
||||
* Allowed to reopen the popup automatically in the [EmptyAutoPopup] phase.
|
||||
*/
|
||||
class TerminalCompletionAutoPopupHandler : TypedHandlerDelegate() {
|
||||
@@ -32,7 +32,7 @@ class TerminalCompletionAutoPopupHandler : TypedHandlerDelegate() {
|
||||
return Result.STOP
|
||||
}
|
||||
|
||||
if (Character.isLetterOrDigit(charTyped) || charTyped == ' ' || charTyped == '-' || charTyped == File.separatorChar) {
|
||||
if (Character.isLetterOrDigit(charTyped) || charTyped == '-' || charTyped == File.separatorChar) {
|
||||
AutoPopupController.getInstance(project).scheduleAutoPopup(editor)
|
||||
return Result.STOP
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user