在NetBeans中格式化:CSS特定 [英] Formatting in NetBeans: CSS specific

查看:178
本文介绍了在NetBeans中格式化:CSS特定的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为大多数代码使用空格缩进,但在CSS中使用制表符缩进。在Visual Studio和Notepad ++中,可以对所有语言进行配置。但在NetBeans中(PHP的设置),我只能选择所有语言或PHP。

有没有办法使其他语言具有特定的格式设置特别是CSS)?根据你有的IDE模块,你会看到PHP,Java或所有语言。但是,只有在Netbeans中才能改变CSS的格式化风格。这个功能已经在Netbeans的用户列表中被询问了几次,但是还没有实现。

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

这篇关于在NetBeans中格式化:CSS特定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆