Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 325595

Summary: [editor] No error icon in editor left ruler before save
Product: [WebTools] JSDT Reporter: Ian Tewksbury <itewksbu>
Component: GeneralAssignee: Ian Tewksbury <itewksbu>
Status: CLOSED FIXED QA Contact: Nitin Dahyabhai <thatnitind>
Severity: normal    
Priority: P3 CC: cmjaun
Version: 3.2.2Flags: cmjaun: review+
thatnitind: review+
Target Milestone: 3.2.3   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Fix Patch
none
vertical ruler image - regular
none
vertical ruler image - rollover
none
Image of Java overlapping markers none

Description Ian Tewksbury CLA 2010-09-17 10:03:37 EDT
This bug is essentially the same the JDT Bug 129588.

In JSDT error markers are not showing up in the left ruler before the file is saved.  The fix for JSDT is the same as the fix used for JDT.
Comment 1 Ian Tewksbury CLA 2010-09-17 10:05:14 EDT
Created attachment 179116 [details]
Fix Patch

This is essentially the same patched used for the JDT bug.  Code just needed to be added to handle ERROR/WARNING/INFO markers because as of right now we only handle quickfix markers.
Comment 2 Nitin Dahyabhai CLA 2010-09-29 18:25:41 EDT
Created attachment 179907 [details]
vertical ruler image - regular
Comment 3 Nitin Dahyabhai CLA 2010-09-29 18:26:51 EDT
Created attachment 179908 [details]
vertical ruler image - rollover

Attaching images showing that the image shown during rollover affordance doesn't match the regular image shown in the ruler as it does in the Java Editor.  Clicking on the rolled over image doesn't invoke the accompanying QuickFix, either.
Comment 4 Ian Tewksbury CLA 2010-09-30 08:39:54 EDT
(In reply to comment #3)
> Created an attachment (id=179908) [details]
> vertical ruler image - rolloever
> 
> Attaching images showing that the image shown during rollover affordance
> doesn't match the regular image shown in the ruler as it does in the Java
> Editor.  Clicking on the rolled over image doesn't invoke the accompanying
> QuickFix, either.

I am not sure how you are getting that rolled over image.  But from what I can tell there is an error marker for the "chris()" method not existing that is being overlayed over the quick fix error marker for the "v" variable not existing.

And I verified the same thing happens in Java.  I will attach screen shot.

Also with the patch applied when I click on the error marker I do get quick fix suggestions.
Comment 5 Ian Tewksbury CLA 2010-09-30 08:54:22 EDT
Created attachment 179946 [details]
Image of Java overlapping markers

imaages showing that JDT does the same thing when there is an error and a quick fix error on the same line.
Comment 6 Nitin Dahyabhai CLA 2010-11-01 17:27:24 EDT
Committed to 3.2 maintenance and HEAD.
Comment 7 Ian Tewksbury CLA 2010-11-18 08:48:37 EST
Verified in latest 3.2.3 build.