How to change color of HAML tags in NetBeans?

荒凉一梦 提交于 2019-12-04 02:09:39

问题


I use Aloha theme in NetBeans 6.8, everything looks cool except these blue tags in HAML files, which are unreadable. How to find a place where this blue color could be changed?

P.S. I use that HAML plugin which seems to be unsupported and lacks features

Screenshot: http://img.leprosorium.com/846904 (sorry, new users can't embed images)


回答1:


Lots of people would DIE for a decent Netbeans HAML plugin.

I suggest that we just PAY for someone to write it :

http://www.cofundos.org/project.php?id=181




回答2:


Sad to say "that HAML plugin which seems to be unsupported and lacks features", is the only Haml plugin there is for netbeans. I don't know if there is source code for it out there either (never looked). If you look, the colours are all defined in a file called haml.nbs. You can find it by extracting the org.netbeans.haml.jar from the nbm you downloaded and then extracting the haml.nbs from that. Ubuntu's file-roller will cheerfully do this for you. The contents of the file look like this:

COLOR:declaration: {
default_coloring: "comment";
foreground_color: "gray";
}
...

With a little fiddling you could probably change those values to suit your needs and put it back together. It should work. Of course if there was source for the darn thing that would be even better.



来源:https://stackoverflow.com/questions/2598553/how-to-change-color-of-haml-tags-in-netbeans

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!