Strange Indentation Behavior - eclipse
Posted: Sat Sep 01, 2007 4:53 am
In a fresh install of eclipse 3.3 on WinXP and with no other plugins except oXygen installed, I'm seeing very strange indentation behavior. If this is an option or feature, I can't find it on a dialog.
Let's say I have the following two lines:
<xsl:value-of select="foo">
<xsl:value-of select="bar">
I place the cursor at the position 1 on the second line and I hit the enter key. The result is that Oxygen indents the second line after adding the line break. So I get this:
<xsl:value-of select="foo">
<xsl:value-of select="bar">
And then I have to hit the backspace key. I'm going to wear out my backspace key. I'm so tired of hitting it! Also, if I paste text, it is always indented one more level than what it was when I copied it.
This doesn't happen in any documents that are handled by other eclipse editors. .htm documents work just fine. This only happens in .xml, .xslt, etc documents handled by oxygen.
Let's say I have the following two lines:
<xsl:value-of select="foo">
<xsl:value-of select="bar">
I place the cursor at the position 1 on the second line and I hit the enter key. The result is that Oxygen indents the second line after adding the line break. So I get this:
<xsl:value-of select="foo">
<xsl:value-of select="bar">
And then I have to hit the backspace key. I'm going to wear out my backspace key. I'm so tired of hitting it! Also, if I paste text, it is always indented one more level than what it was when I copied it.
This doesn't happen in any documents that are handled by other eclipse editors. .htm documents work just fine. This only happens in .xml, .xslt, etc documents handled by oxygen.