Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/eclipse/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Css Eclipse,Less,格式化程序:如何禁用之间的空格!及;“重要的”;_Css_Eclipse_Less - Fatal编程技术网

Css Eclipse,Less,格式化程序:如何禁用之间的空格!及;“重要的”;

Css Eclipse,Less,格式化程序:如何禁用之间的空格!及;“重要的”;,css,eclipse,less,Css,Eclipse,Less,在我的less文件中,例如“margin:0px!important”;当我运行格式化程序时,它会生成“margin:0px!important”;这会在生成的CSS文件中产生验证错误 有人能帮助我们配置忽略验证错误或更改格式化程序以不在引号和“重要”之间添加空格吗 更新: 正如Kheema Pandey所指出的,我应该粘贴一段代码片段 格式化之前: div.text { margin: 0px !important; } div.text { margin: 0px ! import

在我的less文件中,例如“margin:0px!important”;当我运行格式化程序时,它会生成“margin:0px!important”;这会在生成的CSS文件中产生验证错误

有人能帮助我们配置忽略验证错误或更改格式化程序以不在引号和“重要”之间添加空格吗

更新

正如Kheema Pandey所指出的,我应该粘贴一段代码片段

格式化之前:

div.text {
  margin: 0px !important;
}
div.text {
  margin: 0px ! important;
}
格式化后:

div.text {
  margin: 0px !important;
}
div.text {
  margin: 0px ! important;
}

先生,请发一个代码。恐怕您必须向Eclipse的维护人员提交一份错误报告。