use of com.intellij.codeInsight.intention.IntentionManager in project intellij-plugins by JetBrains.
the class DartAnalysisServerService method registerQuickAssistIntentions.
/**
* see {@link DartQuickAssistIntention}
*/
private static void registerQuickAssistIntentions() {
final IntentionManager intentionManager = IntentionManager.getInstance();
final QuickAssistSet quickAssistSet = new QuickAssistSet();
for (int i = 0; i < 20; i++) {
final DartQuickAssistIntention intention = new DartQuickAssistIntention(quickAssistSet, i);
intentionManager.addAction(intention);
}
}
Aggregations