Formatting in NetBeans: CSS specific
I would like to use spaces for indentation for most code, but use tabs for indentation in CSS. In Visual Studio and Notepad++, you can configure this for all languages. But in NetBeans (setup for PHP), I can only select "All languages" or "PHP".
Is there a way to make other languages have specifi开发者_JAVA技巧c formatting settings (specifically CSS)?
Depending on the IDE modules that you have, you will see PHP, Java or All Languages. But there is no way to change formatting styles for CSS-only in Netbeans. This feature has been asked a few times already in the Netbeans users list, but has not been implemented yet.
Since there is no available setting for css formatting or xml, jsp you can set the 'Language' to 'All Language'. It will apply on all the languages that has NetBeans support. If the case is you have other formatting setting specific on Javascript or any language that on 'Language' menu, you can override it.
精彩评论