facebook

Cannot see error/warning icons in MyEclipse JSP Editor

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

    bbishop
    Member

    I’ve never been able to get the error or alert markers to show up in the left marker bar of the JSP Editors. I can see breakpoints and tasks. though. The right gutter correctly displays mini-markers. Any insight? I’m using Eclipse 3.0.1 and MyEclipse 3.8.3 (didn’t work on 3.8.2 either).

    Thanks,
    Blake

    #223590 Reply

    Scott Anderson
    Participant

    Blake,

    It’s one of two issues (maybe both):
    1) On the Problems view, open up the filters and ensure that all the MyEclipse error markers are enabled for display
    2) When you launch Eclipse, make sure you’re using a full JDK, not just a JRE, as javac is needed to validate JSP files. You can specify exactly which JDK to use like this: eclipse.exe -vm <path-to-jdk-install>\bin\javaw.exe (note that’s not jre\bin, but the JDK’s bin directory).

    #223596 Reply

    bbishop
    Member

    I’ve verified both issues correctly (I selected all error markers in the filters, and verified I’m starting Eclipse up correctly with E:\eclipse\eclipse.exe -vm e:\j2sdk1.4.2_06\bin\javaw.exe -vmargs -Xmx256M) and I still see strange error marker behavior. I’ve discovered that some JSPs display the markers, others don’t. If, on the JSPs that don’t work, I roll the mouse over where the marker is supposed to be, I see the tooltip description of the error. It’s a phantom marker. I can provide screenshots if necessary.

    #223606 Reply

    Riyad Kalla
    Member

    Screenshots would be good as well as possibly a small Web Project that exhibits this problem that we can test locally and attach to a bug report to make sure we fix the bug correctly. Please email it to support@genuitec.com wiht a link to this topic.

    #223608 Reply

    bbishop
    Member

    Will do — I’ll get it together tomorrow morning. Thanks for the quick replies.

    #223704 Reply

    bbishop
    Member

    I’ve sent off an email, a zipped up sample Web project and some screencaps. Let me know if you need anything else.

    Thanks, Blake

    #223705 Reply

    Riyad Kalla
    Member

    Great we’ll let you know what we find, thx.

    #223710 Reply

    Riyad Kalla
    Member

    Blake,
    This clarifies things a lot… what you are seeing is actually the correct, albeit not quite perfect, behavior. All error markers in the right hand gutter are generated by the JSP reconciler, this is a real-time task that runs (like the Java editor) and try and tags problems on the fly. The Left hand gutter is showing you compiler errors, the two are different but behave just like the Java editor does… the difference is that detecting compiler errors in a JSP page is no where as easy as a Java file, so the reonciler and compiler errors differ at times.

    Secondly the constantly-putting-error-marker-at-line-1 problem happens when it represents multiple errors or when the line the problem occured on can not be resolved (for whatever reason). We are always working to improve the editor and will continue to beef it up, however for all intents and purposes it is behaving as it should be for you right now. Sorry for the confusion.

    #223726 Reply

    bbishop
    Member

    Thanks for the clarification. Just wondering though, can you explain why I can mouse over the phantom markers in the left gutter and get a tool tip? From your explanation, it seems that I shouldn’t be able to do that, because the compiler hasn’t figured out which lines the errors are on — and yet, I can get an error description when I roll over the left gutter. Is it the reconciler that places an invisible tool tip link in the left gutter?

    BTW, I really like where your product line is and where it’s going. Thanks for the great work.

    #223743 Reply

    Riyad Kalla
    Member

    Just wondering though, can you explain why I can mouse over the phantom markers in the left gutter and get a tool tip?

    Because it is something we haven’t cleaned out just yet, there are still some inconsistencies between the margins that we need to take care of. Sorry about the ghost markers…

    Is it the reconciler that places an invisible tool tip link in the left gutter?

    It seems to be, I’d have to check with the devs…

    BTW, I really like where your product line is and where it’s going. Thanks for the great work.

    Hey thanks! 3.8.4 should be out tommorow morning we hope it adds some fixes and minor tweaks for everyone while we steam towards 3.9 which will be another huge bump in features like 3.8/1 was.

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: Cannot see error/warning icons in MyEclipse JSP Editor

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