Create Language and File Type.
http://confluence.jetbrains.com/display/IntelliJIDEA/Language+and+File+Type