facebook

XML Editor Error Bar – Quick access to error loc [Closed]

  1. MyEclipse IDE
  2.  > 
  3. Feature Requests
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #203733 Reply

    tedtollefson
    Member

    The Eclipse java editor displays a “error bar” next to the horizontal slide-bar. Error locations are designated there as small red boxes. I can click on the red box and jump right to the error location in my java file.

    The XML Editor should have the same functionality.

    An example of this functionality can be seen here:

    http://help.eclipse.org/help21/topic/org.eclipse.platform.doc.user/gettingStarted/qs-39e.htm?resultof=%22%74%69%6c%69%6e%67%22%20%22%74%68%65%22%20%22%65%64%69%74%6f%72%22%20%22%77%6f%72%6b%22%20%22%61%72%65%61%22%20

    In this case, the box on the right is green because it designates a bookmark.

    #203741 Reply

    Riyad Kalla
    Member

    Ted,
    Do you think that these red bars should replace the red X’s you get on the left hand side of the editor currently? I believe we can’t have both since they server the same purpose. But it is a good idea to consolidate the behavior across all editors.

    I will assume that if this request gets through, then we also want to make these changes to the JSP Editor (sine I believe, like the XML editor, it uses red X’s as well on the LHS).
    Keep the good suggestions comming!

    #203770 Reply

    Scott Anderson
    Participant

    Actually, you can have both. The left-hand margin is for markers, the right-hand margin is the
    vertical overview ruler. The difference is that the marker margin is 1:1 with the length of
    the file, while the overview ruler shows an overview in however much space vertical space
    is available in the right margin. The Java editor has a very nice implementation, for example.
    Good enhancement request.

    #203775 Reply

    Riyad Kalla
    Member

    Scott I was just going to email you about this, thank you for the clarification I was thinking straight when I first posted.

    #203820 Reply

    No Operation
    Member

    the thread is about the XML editor, not the JSP editor:

    1. Open a JSP file containing an error or warning
    2. Move your spot of attention to the right side of the editor
    3. got it?

    😉

    NOP

    #203829 Reply

    Riyad Kalla
    Member

    Oh yes, sorry I had missed that. I should stop wearing horse-blinders when I program… 😀

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: XML Editor Error Bar – Quick access to error loc [Closed]

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