I've been meaning to get this email off for weeks now, but haven't gotten
around to it yet. The options for file types seem lacking somewhat. It
looks to be an inprogress system, so I hope to see improvements in the
future. However, as it stands now, the support for custom file types is
very poor. I spent 20 minutes digging through a bunch of xml files in
config/ and config/filetypes and have decided that thorough support for
custom file types just isn't in there yet.

As an example, a number of us are working with velocity to make html
templates. The templates are of type .vm and extend the .html file type
while adding a few things. Velocity has a unique variable syntax
($variable), as well as unique flow control syntax (#if ... #else ...
#end). Since the velocity code is embeded in html, all html syntax should
work as well. I'd like to be able to define a file type that extends the
html syntax while adding highlighting for $variables, and recognition of
#if #end pairs, etc. Perhaps this would require a custom LiveTemplate or
something on my part.

If this type of control is already in place and I've just overlooked it,
consider this a "How would I ...?" post. Otherwise, it's a feature
request.

Also, I noticed references to an openapi package in some config files.
Maybe the control that I'm looking for will come with the openapi that we
keep looking forward to.

Great product guys. Keep up the good work.

--Erik

ps. While I'm at it, I really miss not having code folding.


_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-features

Reply via email to