facebook

Opening XML files without the design view

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #301517 Reply

    gthieme
    Member

    How 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 -> OK

    The 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 -> OK

    The 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

    #301530 Reply

    support-joy
    Member

    gthieme,

    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.

    #301566 Reply

    Loyal Water
    Member

    Geoff,
    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.

    #301756 Reply

    gthieme
    Member

    This 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.

    #301772 Reply

    support-joy
    Member

    gthieme,

    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.

    #301954 Reply

    Loyal Water
    Member

    We 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.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Opening XML files without the design view

You must be logged in to post in the forum log in