Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Netbeans 7.x syntax highlighting for .sass files?

Tags:

sass

netbeans

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

like image 857
Bogdan Avatar asked Apr 14 '12 19:04

Bogdan


2 Answers

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

like image 111
martin Avatar answered Dec 25 '22 16:12

martin


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

like image 27
Bogdan Avatar answered Dec 25 '22 17:12

Bogdan