[HOW TO] change the order of the editor intentions

Is there a way to influence the order of the intentions listed on Alt-Enter? I have a list of 5+ intentions and they all get sorted by the action text. I would have them sorted differently, i.e. group logically related intentions together

2 comments
Comment actions Permalink

See com.intellij.codeInsight.intention.HighPriorityAction and com.intellij.codeInsight.intention.LowPriorityAction (see com.intellij.codeInsight.intention.impl.IntentionListStep#getValues for actual sorting)

0
Comment actions Permalink

Great! Thanks Yann! was hoping for a numbered priority qualifier but i think i could work it out with hi/low markers as well

0

Please sign in to leave a comment.