Contolling CSS formating?

Hi,

I'd like to be able to keep blocks of CSS directives together when I
consider them related, like in this example:

/*Defines table #runningTask column width*/
#runningTask th#status {width: 10%;}
#runningTask th#date, #runningTask th#name, #runningTask th#time {width: 20%;}
#runningTask th#data {width: 30%;}



IDEA's Auto Format would always split them, like this:

/*Defines table #runningTask column width*/
#runningTask th#status {
    width: 10%;
}

#runningTask th#date, #runningTask th#name, #runningTask th#time {
    width: 20%;
}

#runningTask th#data {
    width: 30%;
}



How can I keep the definitions inline and together??

cheers
/nodje
1 comment
Comment actions Permalink

Hi nodje,

Regarding keeping blank lines in css - there is a ticket about that - IDEA-49639 . Feel free to vote it up.

About style declaraition in one line - you need formatting option similar to java's 'keep simple blocks in one line'. Please create corresponding ticket at IDEA tracker.

Regards, Denis

0

Please sign in to leave a comment.