Only add `Class` to kind in CreateClassAction dialog

Is it possible to just add `Class` to Kind field in CreateClassAction dialog and disable/remove others(Enum, Interface, Annotation...)? 

Any suggestions how to achieve this?

1 comment
Comment actions Permalink
Official comment

It's not possible to remove variants from the list. You can copy com.intellij.ide.actions.CreateClassAction and add only those that you need. But having a combo box with just one variant seems unnecessary, you might want to use a simpler UI, e.g. Messages.showInputDialog.

Please sign in to leave a comment.