 |
|
 |
 |
|
 |
 |
| Author |
Message |
|
|
Post subject: XML editor not replacing tabs with spaces
Posted: Aug 25, 2008 - 10:03 PM
|
|

Joined: Jul 21, 2005
Posts: 11
|
|
I'm using 6.5.1-GA-20080715 and eclipse 3.3.2 M20080221-1800
I've changed the global preferences for editors to use spaces rather than tabs
General > Editors > Text Editors
Displayed tab width: 3
[x] Insert spaces for tabs
However, when I reformat an XML file using MyEclipse, it replaces all of the spaces with tabs.
I have also enabled this option to visually see the tabs:
[x] Show whitespace characters. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: XML editor not replacing tabs with spaces
Posted: Aug 26, 2008 - 08:48 PM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 5657
|
|
John-N,
This is an eclipse bug that the eclipse team is working on:-
https://bugs.eclipse.org/bugs/show_bug.cgi?id=54940
You should add you comments to this bug to it higher on their priority list. Im sorry you ran into this issue. |
_________________ Nipun
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject: RE: XML editor not replacing tabs with spaces
Posted: Aug 27, 2008 - 03:55 PM
|
|

Joined: Jul 21, 2005
Posts: 11
|
|
Here is a response from the eclipse bugzilla forum:
--- Comment #17 from Daniel Megert <daniel_megert@ch.ibm.com> 2008-08-27 06:39:53 -0400 ---
John, your problem is either wrong XML formatter preferences in your workspace
or a bug in the XML formatter but definitely unrelated to the compare editor. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: XML editor not replacing tabs with spaces
Posted: Sep 01, 2008 - 06:56 PM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 5657
|
|
John-N,
I just got a feedback from the dev team and they were able to reproduce that issue with plain Ganymede. This looks like a bug in the core XML editor. I tried looking for this bug in the Eclipse bugzilla system but I was unable to find it. You can go ahead and file this bug. We would stay on top of this issue and the bug fix would be reflected in MyEclipse as soon as the Eclipse team fixes it.
https://bugs.eclipse.org/bugs/ |
_________________ Nipun
MyEclipse Support
|
| |
|
|
|
 |
|
|
| |
|
|
 |
|
 |
|
|
|
 |