How to not place 4 spaces if I press "enter" in a .css file?

If I edit a CSS file with IntelliJ 10 and press enter in it (for new line), it always inserts 4 spaces.

I want, however, two spaces instead of 4. Or the same amount as the previous line has.

And under Code Style -> CSS, there is no setting for this amount of spaces.

How can this be changed?

Thanks!

---
Original message URL: http://devnet.jetbrains.net/message/5450213#5450213

1 comment
Comment actions Permalink

It's controlled by 'indent' and 'continuation indent' option values at the 'Code Style | Css'

Denis

0

Please sign in to leave a comment.