[HOW-TO] prevent editor gutter actions from being displayed as intentions

Editor gutter annotations (implementing com.intellij.openapi.editor.markup.GutterIconRenderer) are reported as intentions as well (Alt-Enter). Is there a way to prevent them from being displayed in the intention list?

0

This was possible in earlier Intellij versions (prior to 15) if the underlying action had empty presentation text. Now (in version 15) the intention is presented with empty text. Is this a bug?

Update: Must be a bug: the com.intellij.codeInsight.daemon.impl.ShowIntentionsPass does not honor the conditions provided by com.intellij.psi.IntentionActionsFilter

0

请先登录再写评论。