views:

87

answers:

1

Hey,

This may seem like seem like a bit of a weird/uncommon request but I am trying to find out if it is possible. I would like to add to the language syntax in Netbeans or Eclipse easily without needing to create an entirely new language. According to this question http://stackoverflow.com/questions/281992/how-to-add-more-syntax-elements-for-eclipse it is not possible in Eclipse, but that was asked in 2008 so maybe things have changed.

The reason I want to do it is I am developing in node.js and it uses callbacks quite heavily. So it would be nice if I could make the word 'callback' and 'callback()' be highlighted in a different colour so it can be easily seen in amongst the rest of the code.

Thanks for your help!

A: 

Let's bump this up a bit.

I would like something similar. I want to have files with a .less extension use the CSS syntax highlighting as well.

I don't have any clue how to do this.

Edit: In NetBeans.

Rasmus