There are lots of CSS properties that require the user to enter multiple values. So we cannot assume that the user is done with the current property and auto append the ;.
Yes, that came up during the code review, but multiple values was out-of-scope, so we let it go, for now. With that said, I agree with this change.
I'd like to give this a shot to learn a little about this part of the code.
Any way this could be added back in?
Not necessarily the way it was before, but essentially how MacRabbit鈥檚 Espresso does it. The semicolon, preceded by a single space, gets automatically appended upon completing the CSS property, not the value, and the cursor is inserted just before the semicolon.
This way, you could add as many values as you鈥檇 like before moving onto the next declaration. Plus, pressing Command+Return in both Expresso and Brackets already automatically creates a new line, without needing to navigate around the semicolon, so it would be fairly seamless reintegration.
(Pretty please?)
Would love to see this too, though I don't know how to do it.
Please, seriously, make this an option. I like the way WebStorm append semicolon and such behavior doesn't break the flow.
Most helpful comment
Any way this could be added back in?
Not necessarily the way it was before, but essentially how MacRabbit鈥檚 Espresso does it. The semicolon, preceded by a single space, gets automatically appended upon completing the CSS property, not the value, and the cursor is inserted just before the semicolon.
This way, you could add as many values as you鈥檇 like before moving onto the next declaration. Plus, pressing Command+Return in both Expresso and Brackets already automatically creates a new line, without needing to navigate around the semicolon, so it would be fairly seamless reintegration.
(Pretty please?)