How to register new filetype in 'new file' list?

I'm creating an AsciiDoc plugin, and I'd the plugin to register itself in the list of new filetypes whenever you press Ctrl+N in the project view. Rigth now, I see HTML, Stylesheet, Javascript File, etc, but I'd like to add 'AsciiDoc' the list.

How can I do this from the plugin? Do I have to register a new action like in the Go plugin, like here (around 173)? https://github.com/go-lang-plugin-org/go-lang-idea-plugin/blob/master/src/META-INF/plugin.xml? Or do I need to do more?

Thanks,

Erik

1 comment
Comment actions Permalink

All these items are simply actions; there's no other special registration mechanism for these.

0

Please sign in to leave a comment.