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)? Or do I need to do more?



1 comment
Comment actions Permalink

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


Please sign in to leave a comment.