eclipse CSS file formatting

不想你离开。 提交于 2019-12-23 13:06:20

问题


I'm trying to make eclipse format css files my way...

Currently i've got sth like that:

.class{ 
 display: none; sth: other; 
}

But i would like to make it sth like that:

.class { display: none; sth: other; } 

Can I do this?


回答1:


I only found in Preferences / Web / Css files / Editor that we can disable "Insert line breaks between props"

Other I think is somewhere in the sources of ecl. So even if you know about it -- you could fix it by implementing your own plugin to ecl.



来源:https://stackoverflow.com/questions/5964612/eclipse-css-file-formatting

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