popcode
popcode copied to clipboard
Auto-indentation of closing bracket in CSS is bad if you type within open/close bracket
Say you have CSS that is:
image {
width: 500px;}
If you press the return key after the semi-colon the right curly brace does not tab appropriately.
I'm assuming this is the problem.
Say you have CSS that is:
image {
width: 500px;}
If you press the return key after the semi-colon the right curly brace does not tab appropriately.
Also tested in JS and see the same issue:
function foo() {
console.log("bar");}
I think it's a side effect of not auto-closing once an opening bracket is typed.