Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
John-N
Post subject: XML editor not replacing tabs with spaces  PostPosted: 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.
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: XML editor not replacing tabs with spaces  PostPosted: Aug 26, 2008 - 08:48 PM
Registered Member
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
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
John-N
Post subject: RE: XML editor not replacing tabs with spaces  PostPosted: 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.
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: XML editor not replacing tabs with spaces  PostPosted: Sep 01, 2008 - 06:56 PM
Registered Member
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
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits