- This topic has 6 replies, 2 voices, and was last updated 20 years, 6 months ago by Henrique Viecili.
-
AuthorPosts
-
Henrique VieciliMember– System Setup ——————————-
Operating System and version: WINXP / SP1
Eclipse version: 2.1.3
MyEclipse version: 2.8.0 beta 1
Eclipse JDK version: 1.4.2_04
– Message Body ——————————-I have an XML file that is not formatted correctly, but when I right-click on the file and choose the option ‘Format Source Code’ nothing happens, i.e. the XML keeps unformatted.
Henrique Viecili
Riyad KallaMemberHenrique,
I don’t think you are using our XML editor as it does not support formatting and doesn’t display that option in the context menu on my machine. If you right click on the XML file and go to “Open With…” and select MyEclipse XML Editor, you should be set.If you are still seeing this problem, let me know and I’ll look into it. Maybe you have XMen or XMLBuddy installed?
Henrique VieciliMemberrkalla,
I did open my xml file with MyEclipse XML Editor and the option in the right-click over the opened document remains.
Actually, there is under
<MYECLIPSE_HOME>\eclipse\plugins
a folder named
com.genuitec.eclipse.xmen_2.7.101
, but I think it is installed with MyEclipse.
If you ask I can place links to screenshots of my actions.
By the way, if there isn´t such feature, it could be revised because it is very useful.
Henrique Viecili
Riyad KallaMemberThank you for investigating so thoroughly. The com.genuitec.eclipse.xmen plugin is ours, that’s ok to have there. If you don’t mind posting a screenshot that would be much appreciated, in the mean time I wasn’t able to verify your findings on Linux, but I will try it later on a Windows machine to see if its a platform-specific issue.
As far as requesting XML formatting, comming with the 3.9 release we should address this as we aer going to work hard to consolidate our editors and their respective functionalities better together.
Henrique VieciliMemberThanks Riyad,
here are the URL to the screenshots:
➡ http://www.inf.ufsc.br/~viecili/myeclipse/screen_XML_01.png (65kb) and
➡ http://www.inf.ufsc.br/~viecili/myeclipse/screen_XML_02.png (57kb)________________________
Henrique Viecili
Riyad KallaMemberHenrique,
Thank you for the screenshots, I see what you mean but I was unable to reproduce this with the 2.8beta1 release on Linux or Windows.I also don’t have the “Team >” menu on my context menu either… what plugins do you have installed?
Either way, I think we are in agreement that this post as turned into a request since the XML editor doesn’t support formatting, and I’ll let you know that its been entered in the system along side some other XML Editor enhancements.
Henrique VieciliMember@support-rkalla wrote:
I also don’t have the “Team >” menu on my context menu either… what plugins do you have installed?
My plugins are:
MyEclipseIDE
Jigloo (SWING and SWT) *
JsEditor (JavaScript)
DBExplorer (Database) *
VSSPlugin (VCS) – the “Team” menu
EclipseUML (UML) ** The Format Source Code menu does not belong to any of these plugins. It was there before I installed the plugins.
___________________
Henrique Viecili -
AuthorPosts