From 4dadbd6cd54fa9f892ef9386a1df761b5cf9947b Mon Sep 17 00:00:00 2001 From: Mikhail Pyltsin Date: Thu, 18 Dec 2025 17:11:39 +0100 Subject: [PATCH] [command-completion] IJPL-223668 IOOBE: CharSequenceSubSequence via CommandCompletionProviderKt.findCommandCompletionType - delete useless fix GitOrigin-RevId: ed63bcdd4c5ffc52cc9715b7f9ec2c6374f2c9b6 --- .../codeInsight/completion/command/CommandCompletionProvider.kt | 1 - 1 file changed, 1 deletion(-) 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),