[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

0
2 comments

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

0

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.