CSS pretty print

Are you missing a feature? Request it's implementation here.
Franck
Posts: 35
Joined: Fri Jun 03, 2005 11:00 am

CSS pretty print

Post by Franck » Tue Jan 24, 2006 3:43 pm

First of all, I have just noticed the new wonderful CSS validation feature in v7, awesome (as that skateboard dud would say).

But now that my CSS is spotless, how can I control its format?

I like to have my classes like this:

td.clsTableTypeTwoTotalAmount
{
font-weight : bold !important;
border : none;
border-right : 1px solid #6176B9;
border-bottom : 1px solid #6176B9;
text-align : right;
}

th.clsTableTypeTwoBalanceTitle
{
background-color: #6176B9;
color : white;
padding : 0.1em;
font-size : 1.2em;
text-align : right;
}

so I'd need to be able to conserve break before and after the brace, put an arbitrary margin within the braces, and hopefully align all the values (either within the brace, or along an arbitrary tab...)

And completion hints would be nice too...

Cheers

sorin_ristache
Posts: 4144
Joined: Fri Mar 28, 2003 2:12 pm

Re: CSS pretty print

Post by sorin_ristache » Wed Jan 25, 2006 7:07 pm

Hello,
Franck wrote:I'd need to be able to conserve break before and after the brace, put an arbitrary margin within the braces, and hopefully align all the values (either within the brace, or along an arbitrary tab...)
We will consider allowing the user to configure the pretty-print operation for CSS files.
Franck wrote:And completion hints would be nice too...
Auto-completion is provided automatically for property values when you insert the : character. Also it is available on demand, you have to press Ctrl+Space to invoke it. For property names it is available only on demand (Ctrl+Space).

Regards,
Sorin

Post Reply