mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[command-completion] IDEA-379780 Command completion: remove 'AI Actions' from the list of commands for injected code
- hardcoded GitOrigin-RevId: 24bd3e93f5ea2ca1d8602979a2c996d8e914142e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
7e4ed9a6c2
commit
b7455f398f
+2
@@ -511,6 +511,8 @@ internal class DirectIntentionCommandProvider : CommandProvider {
|
||||
intentionsCache.wrapAndUpdateActions(actionsToShow, false)
|
||||
for (intention in intentionsCache.intentions) {
|
||||
if (intention.action is EmptyIntentionAction || intentionCommandSkipperList.any { skipper -> skipper.skip(intention.action, psiFile, currentOffset) }) continue
|
||||
//todo hardcoded, get rid of when it will be clear what to do with this
|
||||
if (IntentionActionDelegate.unwrap(intention.action).javaClass.name == "com.intellij.ml.llm.intentions.chat.AIAssistantIntention") continue
|
||||
val intentionCommand =
|
||||
IntentionCompletionCommand(intention, 50, AllIcons.Actions.IntentionBulbGrey,
|
||||
calculateIntentionHighlighting(intention, editor, psiFile, offset), topLevelCurrentOffset) {
|
||||
|
||||
Reference in New Issue
Block a user