- This topic has 5 replies, 3 voices, and was last updated 15 years, 2 months ago by Loyal Water.
-
AuthorPosts
-
gthiemeMemberHow do I open ALL xml files without the design view being available (just using the source view) in MyEclipse 7.5.
I can open an individual xml file this way by doing the following:
Right click an xml file -> open with -> Other… -> Select MyEclipse Web XML Editor -> OKThe problem is that is only applies to that one file name. I want to do this for all xml files (have them open in MyEclipse Web XML Editor instead of the default MyEclipse XML Editor).
The same applies for properties files which I open using:
Right click a properties file -> open with -> Other… -> Select Properties File Editor -> OKThe reason I want to do this is some keyboard shortcuts will not work when xml files are opened with the design tab. Even if you are not using the design tab, having it available can cause keyboard shortcut issues.
The keyboard shortcuts that the default “open with” editors use breaks Ctrl + Page Up and Ctrl + Page Down that I use to switch between files (also works to switch between other groups of views, like between Console and Problems views after you have switched to one of them); and Alt + R, T which I use to run previous java programs, JUnit tests, maven installs, etc…Thanks,
Geoff
support-joyMembergthieme,
Currently it is not possible to open all the xml files with the same settings. I’ll confirm with our dev team if there is any alternative.
Loyal WaterMemberGeoff,
You can go to Windows > Prefs > General > Editors > File Associations and scroll down to *.xml in the FILE TYPES window. Now select MyEclipse XML Editor (or any other editor that you want) and hit default. That should make the selected editor as the default editor for the file type.
gthiemeMemberThis is working great. Thanks for your help.
However I noticed a bug saving xml files using Ctrl +S.
When open an xml file via a link to a file out side the project, and that xml file is opened with “MyEclipse Web XML Editor”, the Ctrl +S shortcut does not work to save that file.
support-joyMembergthieme,
Good to hear that you are all set.
Can you send me sample project to test the xml file saving using “Ctrl+S” issue. You can PM me or send an e-mail to support@genuitec.com. Please mention “Attn:Joy” in the subject line. Also, refer this post url in the e-mail.
Loyal WaterMemberWe were able to replicate the issue at our end. I have raised a PR for the dev team to investigate this issue. I’ll get back to you as soon as I hear back from the dev team.
The work around is to save the file using tool bar “save” button or using the “file–>save” option from menu bar.
-
AuthorPosts