Easy way to add syntax highlight for new language
Answered
Hope there are easy way to add syntax hightlight for new language.
Just for simple(?) keyword, literal highlight, not for id indexing support.
Now days, we see language explosion.
We meet new language everyday.
Whenever coding with new language, I have to return to vim/macvim/vico/textmate.
It will be good to code other language on IDEA with just elementry support of IDE.
And if importing vim/textmate color syntax possible on IDEA,
I think, there will be big acclamation. :)
Today Java, tommorow X, Y, Z ...
Please sign in to leave a comment.
Hello Kyuhyun,
You can define custom file types with syntax highlighting in Settings | File
Types.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Dmitry,
I think the menu you describe only lets you associate a file extension with an EXISTING templating language.
It does not allow you to create a new coloring scheme. Is that possible to do in any way?
(I think that is the original request as well)
--dan
@dan oblinger for simple keyword highlighting you can indeed just add a custom file type where to add the keyworkds. If you need more complex support you will need to write a custom language plugin.