emmetio / Emmet.tmplugin

Emmet plugin for TextMate
http://emmet.io
97 stars 11 forks source link

Trimming css values / white space. #7

Closed almadsen closed 11 years ago

almadsen commented 11 years ago

This isn't as much an bug/issue as it is a request for the ability to trim css values as such: instead of "display: none;" this "display:none;" Ergo removing the white space between the colon and the css-value.

Is it possible to tinker in some .plist file to make this happen?

sergeche commented 11 years ago

You need to change css.valueSeparator preference in preferences.json.

Read about Emmet customisation: http://docs.emmet.io/customization/ https://github.com/emmetio/Emmet.tmplugin#extensions-support

almadsen commented 11 years ago

Not really getting it to work, first of: can't see anything on where I should put the preferences.json file, Emmet.tmplugin/ or ../Contents/ or ../../Resources/

sergeche commented 11 years ago

https://github.com/emmetio/Emmet.tmplugin#extensions-support

almadsen commented 11 years ago

Ok, so after a whole lot of moving the preferences.json file around I finally got it working. Thanx for great plugin btw. I'ts a real timesaver.

sergeche commented 11 years ago

You don’t need to move any files, you can create your own preferences.json file in Extensions folder with re-defined preferences.