Change CSS formatting

331 views
Skip to first unread message

Kathy Marks

unread,
Apr 10, 2015, 7:51:04 PM4/10/15
to bbe...@googlegroups.com
Under Markup > CSS is an option to format a css file.  Is there a way to modify how BBedit formats CSS?  One particular format is most useful for me to quickly work with CSS and it'd be wonderful if BBEdit could format css styles that way for me.  Anyone know how to do this?

Thanks!

jgill

unread,
Apr 11, 2015, 5:51:07 AM4/11/15
to bbe...@googlegroups.com
When you have applied the BBEdit CSS format. you have something predictable to work with and it is a simple matter of using Search and Replace to tweak the formatting. Without knowing exactly what you are trying to achieve, it is impossible to give any specific examples.

blinde

unread,
Apr 11, 2015, 12:09:47 PM4/11/15
to bbe...@googlegroups.com
kathy -

the simplest answer to your question is 'no, not really... but kind of'. css files are text files... which means that you're a simple search and replace away from anything you want.

have you tried bbedit's css tools? how was what you got different from what you wanted?

'one particular style is most useful to me' may be a true statement, but is frustratingly unhelpful for anyone wanting to help. how are we supposed to know what that is or what you want to accomplish without an example?

if it's just that you like your css params indented, you could do that with a regex or command + } (or ]).

more info, please.
Reply all
Reply to author
Forward
0 new messages