
|
If you were logged in you would be able to see more operations.
|
|
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
Issue Links:
|
Relates
|
|
|
|
This issue is related to:
|
|
IDEADEV-11459
CSS formatter code style options
|
|
|
|
|
|
For a file ending in .css, and inside <style type="text/css"> tags, css code format options should exist for indentation of css class, style, and id definitions:
- Whether to indent braces
- Whether to indent stuff inside braces
Whether open brace should be on a new line
- Whether brace on a new line should be indented or not
- Whether close brace should be on a new line
- Whether close brace on a new line should be indented or not
- Whether each name/value pair should be on a new line, or all of them one one line
- Whether name/value pair(s) should be indented
For every indentation option, by how many spaces to indent
|
|
Description
|
For a file ending in .css, and inside <style type="text/css"> tags, css code format options should exist for indentation of css class, style, and id definitions:
- Whether to indent braces
- Whether to indent stuff inside braces
Whether open brace should be on a new line
- Whether brace on a new line should be indented or not
- Whether close brace should be on a new line
- Whether close brace on a new line should be indented or not
- Whether each name/value pair should be on a new line, or all of them one one line
- Whether name/value pair(s) should be indented
For every indentation option, by how many spaces to indent |
Show » |
|
Whether to put name/value pair on one line if there is only one (or two, or three, or some minimum # of styles) style:
/* Option: if only 1 name/value pair put on one line... */ UL { font-family: Verdana, sans-serif; } /* ...but if more than one, put on separate lines */ UL { font-family: Verdana, sans-serif; background-color:blue; }