In our Flex/Actionscript projects, we have XML files with a specific schema that are used for localization resources. The files are called (for example) foo.en_US.xml.
In order to use the File Watchers plugin to trigger automatic codegen of Resource classes when they change, we have created a custom file type called "Our Company Localization Resources" whose registered pattern is *.en_US.xml and then set up a Watcher to watch that file type and run our codegen script when any file of that type changes.
That works really nicely, except that since those files are seen as "Our Company Localization Resources" type instead of XML type, they get the plain text editor instead of the XML editor. That makes editing them kind of a pain in the neck.
Is there a way to tell IntelliJ IDEA to use the XML editor for this custom file type?