diff --git a/platform/lang-impl/src/com/intellij/codeInsight/completion/command/CommandCompletionProvider.kt b/platform/lang-impl/src/com/intellij/codeInsight/completion/command/CommandCompletionProvider.kt index ca49063ced80..7884d5d2da1e 100644 --- a/platform/lang-impl/src/com/intellij/codeInsight/completion/command/CommandCompletionProvider.kt +++ b/platform/lang-impl/src/com/intellij/codeInsight/completion/command/CommandCompletionProvider.kt @@ -633,7 +633,6 @@ internal fun findCommandCompletionType( text.substring(offset - indexOf, offset - indexOf + 2)) } if (indexOf > 0 && - offset >= offset - indexOf + 1 && text.substring(offset - indexOf).startsWith(factory.suffix())) { //force call with one point return InvocationCommandType.PartialSuffix(text.substring(offset - indexOf + 1, offset),