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 ...

3 comments
Comment actions Permalink

Hello Kyuhyun,

You can define custom file types with syntax highlighting in Settings | File
Types.

Hope there are easy way to add syntax lightlight 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 ...


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

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

0
Comment actions Permalink

@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.

0

Please sign in to leave a comment.