Hi, I have been using beta 20100529 for a day or so now, and have started doing my first bit of proper work with it.
I have encountered some pretty odd auto indentation behaviour when writing out some nested div tags.
<body>
<div id="hi">
<div id="hei">
</div>
</body>
Imagine that I have that code structure. When I press enter with the cursor at the end of the “
” line, it auto indents into the same position as the starting tag, which is fine.
I type </ and it is still all fine - I start to type div, and it moves the indentation back a tab for god knows what reason so the end result is…
I type </ and it is still all fine - I start to type div, and it moves the indentation back a tab for god knows what reason so the end result is…
<body>
<div id="hi">
<div id="hei">
</div>
</div>
</body>
instead of the intended…
<body>
<div id="hi">
<div id="hei">
</div>
</div>
</body>
I don’t want to turn auto indention off completely, as it can be quite useful. But this behaviour gets pretty damn annoying when I am trying to quickly type out a layout.
Is this a bug, or intended behaviour?
Thanks.