For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 23 replies, 6 voices, and was last updated 21 years, 1 month ago by
jnials.
-
AuthorPosts
-
Scott RyanMemberI would like to see some sort of formatter or pretty printer for the XML files. Our config files get pretty ugly and we use HTML tidy to clean them up. I would like to see something similar in MyEclipse.
Scott Ryan
March 7, 2004 at 7:27 pm #204458
Scott AndersonParticipantScott,
That one is an open enhancement that we’re hoping to get into 2.8.
March 7, 2004 at 10:55 pm #204464
Ivar VasaraMember@scott@theryansplace.com wrote:
I would like to see some sort of formatter or pretty printer for the XML files. Our config files get pretty ugly and we use HTML tidy to clean them up. I would like to see something similar in MyEclipse
I’ll second the request.. that’d be great.
March 8, 2004 at 8:09 am #204472
Riyad KallaMemberUntil formatting is in, as a hack you can copy-paste the contents into a JSP file, format it, then copy/paste it back into your XML file.
Definately suboptimal, but for the users that don’t have a formatting plugin installed, and just have to have it, this works fine.
April 5, 2004 at 1:11 am #205605
mogarickMember1+
i’d like to see this in the next release. 🙂i’d like to know if the struts-config editor could have this formating feature too.
greetings.
May 26, 2004 at 2:20 pm #207568
jnialsMemberI’d like to be able to see this in the next release as well. I am using docbook xml for our documentation, and would like to be able to 1) Format, and 2) validate.
May 26, 2004 at 2:41 pm #207570
Riyad KallaMemberjnials,
You have been able to validate XML for a while now… are you not seeing this when using our XML Editor?June 4, 2004 at 11:55 am #207983
jnialsMemberI am not seeing it. I just upgraded to the 2.8 Beta running on Eclipse 3.0rc1.
I see the options in the preferences file, but no option to validate, either in the right click menus or on the pulldowns.
-Jon
June 4, 2004 at 12:19 pm #207985
Riyad KallaMemberAre you sure you are opening the XML files with our editor? Right click on your XML file, go to Open With, and select “MyEclipse XML Editor”
June 7, 2004 at 1:20 pm #208101
jnialsMemberYes, I am sure. Just did it again to confirm.
Tried an html file to see if they worked correctly. They do.
-Jon
June 7, 2004 at 2:03 pm #208107
Riyad KallaMemberJon,
When you said “I just upgraded to the 2.8 Beta running on Eclipse 3.0rc1.” you meant 3.8 Beta right? Also can you paste any exceptions from your log file here for us to look at?June 8, 2004 at 2:39 pm #208206
Riyad KallaMemberJon,
I finally got to the bottom of this. THe manual validate is incorrectly tied to the Auotmatic Validation setting in the XML Editor > Configuration options in MyEclipse preferences. If you change this to “All” then you will see the Validate option everywhere.Sorry about this mix up, hopefully we can get these fixed soon.
June 11, 2004 at 2:16 am #208350
jnialsMember@support-rkalla wrote:
Jon,
I finally got to the bottom of this. THe manual validate is incorrectly tied to the Auotmatic Validation setting in the XML Editor > Configuration options in MyEclipse preferences. If you change this to “All” then you will see the Validate option everywhere.Sorry about this mix up, hopefully we can get these fixed soon.
Hope so. This still doesn’t work. Here is how I can easily recreate it (all under linux) and yes, I am running 3.8 beta with 3.0 RC1
Create a simple project with no files. Import an existing xml file. Or create one from scratch. Right click the file name in the menu, make sure it is opening with the MyEclipse XML Editor. You will discover that when you pull down the MyEclipse menu item, then you do not get options to validate, or tidy the file as you would with HTML or XHTML. I get a single greyed out entry of “Add WebProject Capabilities..”
Hopefully I can stop using jedit soon for my xml files.
-Jon
June 11, 2004 at 8:53 am #208358
Riyad KallaMemberJon,
Navigate to Window > Preferences > MyEclipse > Editors > XML Editor > Configuration and under the “validation” Settings change it to “All” instead of “Deployment descriptors”, you should now have a validate option in your context menu.June 11, 2004 at 10:58 am #208367
jnialsMember@support-rkalla wrote:
Jon,
Navigate to Window > Preferences > MyEclipse > Editors > XML Editor > Configuration and under the “validation” Settings change it to “All” instead of “Deployment descriptors”, you should now have a validate option in your context menu.Been there, done that. Doesn’t work.
That’s what I have been telling you. I followed the instructions.
-Jon
-
AuthorPosts