Bogdan
Bogdan

Reputation: 44556

Netbeans 7.x syntax highlighting for .sass files?

Does anyone know of a plugin or method to add syntax highlighting to .sass files in Netbeans 7.x?

This plugin I've found http://plugins.netbeans.org/plugin/34929/scss-support adds syntax highlighting for .scss, but I need some solution for .sass files.

Thanks

Upvotes: 10

Views: 4373

Answers (2)

martin
martin

Reputation: 1328

Native support for SASS and LESS has recently been added to the Netbeans codebase - until the next major version (probably 7.4?) is released, you can get it using the current "development version".

Upvotes: 6

Bogdan
Bogdan

Reputation: 44556

Found this plugin which does what I need:

http://code.google.com/p/postcomment/downloads/detail?name=org-netbeans-modules-haml.nbm&can=2.

One drawback is that it doesn't allow to customize the syntax colors, but I found a way to do that by editing the following plugin file (you have to unzip the .nbm and .jar files to do that, and then rearchive them using zip without any compression):

org-netbeans-modules-haml.nbm/netbeans/modules/org-netbeans-modules-haml.jar/org/netbeans/modules/haml/sass.nbs

Hope this helps someone else as well

Upvotes: 5

Related Questions