vladimir....@gmail.com
unread,Oct 25, 2012, 8:12:44 PM10/25/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to intellij-...@googlegroups.com
Heya,
There are problematic file types relations implemented now. HRL, APP and TERMS are subclasses of ErlangFileType. The problems are:
1. It's hard to distinguish whether we in HRL or in MODULE without the file extension checking woodoo that is starting to annoy. It's important for inspections.
2. APP and TERMS are not erlang at all. Erlang terms should have separate grammar. Now they both considered erlang and go thru all the inspections and other stuff.
I propose refactor those into separate file types: HRL and MODULE with ErlangLanguage and write separate grammar for APP and TERMS. There are different TERM files in erlang (reltool.config, etc) and there are different inspections, completions, etc for them to be made.
--
VK