facebook

Block Comment Shortcut Key Not Working in XML Editor

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #278485 Reply

    When editing a XML document using the MyEclipse XML Editor the toggle comment shortcut keystroke (CTRL+SHIFT+C) does not comment the selected block. When activated from the Source menu it works as expected (Source > Toggle Comment). I’ve verified the key mappings (they are in the default state) as Command=Toggle Comment, Binding=CTRL+SHIFT+C, When=Editing in Structured Text Editors, Category=Edit.

    Any help to get this to work would be appreciated.

    MyEclipse Enterprise Workbench

    Version: 6.0.1 GA
    Build id: 6.0.1-GA-200710

    #278490 Reply

    Loyal Water
    Member

    williamcherry,
    I guess you have uncovered a bug in MyEclipse. I was able to reproduce this at my end as well. I’ll file this for my dev team. Thank you for reporting this.

    #285676 Reply

    lrayman
    Member

    I have a similar issue. The comment keystrokes do not on xml files, and, when editing xml files, the entire source menu is greyed out.

    #285677 Reply

    Loyal Water
    Member

    The comment issue is being taken care of by the team but the source menu being grayed out while editing looks like a problem. I was unable to reproduce this at my end . Can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.

    Can you create a new project, add a new xml file to it and test the source menu again. Does it work?

    #285678 Reply

    lrayman
    Member

    in a brand new project, I just created this file:

    <hello>
    <this />
    <is />
    <a>test</a>
    </hello>

    and the entire source menu is still greyed out.

    same when I create XMLExamples project.

    installation summary:

    *** Date:
    Thursday, June 5, 2008 3:06:23 PM EDT

    ** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_07

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 6.0.1 GA
    Build id: 6.0.1-GA-200710

    *** Eclipse details:
    Eclipse Platform

    Version: 3.3.1.1
    Build id: M20071023-1652

    Eclipse Platform

    Version: 3.3.2.R33x_v20071022-_19UEksF-G8Yc6bUv3Dz
    Build id: M20071023-1652

    Eclipse Java Development Tools

    Version: 3.3.1.r331_v20070629-7o7jE72EDlXAbqAcnbmyg1rf8RIL
    Build id: M20071023-1652

    Eclipse Plug-in Development Environment

    Version: 3.3.2.R33x_r20071022-7N7M4CYWLBCz-yHkMIuHN
    Build id: M20071023-1652

    Eclipse Graphical Editing Framework

    Version: 3.3.1.v20070814
    Build id: 20070814-1555

    Eclipse RCP

    Version: 3.3.2.R33x_r20071022-8y8eE9CEV3FspP8HJrY1M2dS
    Build id: M20071023-1652

    Eclipse Graphical Editing Framework

    Version: 3.3.1.v20070814
    Build id: 20070814-1555

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\eclipse-ee\eclipse.exe
    -name
    Eclipse
    –launcher.library
    C:\eclipse-ee\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.2.R331_v20071019\eclipse_1021.dll
    -startup
    C:\eclipse-ee\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
    -vm
    C:\Program Files\Java\jre1.5.0_07\bin\client\jvm.dll

    #285692 Reply

    Loyal Water
    Member

    Your installation looks good. I just wanted to make sure that you are referring to the Source Menu between the Edit menu and Navigate menu on the main MyEclipse menu because I was unable to reproduce this again.

    Can you please switch to a new workspace (File > Switch Workspace > Temp), create a new project, add a new XML file by going to File > New > Other > MyEclipse > XML > XML (Advanced Template) and check if the source menu gets activated when your select some text in your xml file.

    Also, is this happening only for XML files or all files?

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Block Comment Shortcut Key Not Working in XML Editor

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