Open an rhtml file and type <p>. Wait for code completion to present the closing </p>, accept the completion and then
press enter. The closing </p> is indented blow the opening. Producing a series of these in your code will look as follows:
Alt+Shift+F corrects the formatting.
RHTML indenting is still in progress.
This is no longer a problem - but I note that when I press newline after <p> it doesn't indent. If you type some text
it's in column 0. Pressing Alt-Shift-F reformats and indents the text in. I think smart indent should have indented
after <p> but that's an HTML editing problem.
The latter problem depends directly on issue 120491
A lot of people are running into this bug; somebody just stated on nbusers that this bug is a blocker for them.
Tomasz, any idea what this might be?
The new line indentation is set correctly by the HTML indent task, but then overridden by theindent task for the 'application/x-httpd-eruby/text/x-ruby'
mime path. The x-ruby indent task should not modify the document when the cursor position is within another language path (embedded or on the same
user: Tor Norbye <email@example.com>
date: Sun Jan 27 14:29:22 2008 -0800
summary: 109262: Newline in HTML within RHTML files don't indent