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

Bug 349983

Summary: Display generation errors/warnings on source files
Product: z_Archived Reporter: Justin Spadea <jspadea>
Component: EDTAssignee: Justin Spadea <jspadea>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Justin Spadea CLA 2011-06-21 15:01:45 EDT
This first pass will just add error markers to the source file. That might be what we want permanently, but for now it at least shows you the errors. The majority of the work is changing the generators to accept a message requestor instead of using its own, so that the builder can collect the generation messages. There's also some message-related interfaces duplicated in the edt.gen plug-in which should be removed.
Comment 1 Justin Spadea CLA 2011-06-21 15:05:34 EDT
Generation markers are now displayed as described in the original comment. If location information is available the marker will show on the corresponding line in the editor, and the red squiggles will appear underneath the specific code snippet that caused the error. Note that some errors do not provide such information, such as an NPE in the generator.

A new marker type was introduced: org.eclipse.edt.ide.core.generationProblem
Comment 2 Justin Spadea CLA 2011-07-05 12:57:42 EDT
Verified in latest CVS