Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349983 - Display generation errors/warnings on source files
Summary: Display generation errors/warnings on source files
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Justin Spadea CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-21 15:01 EDT by Justin Spadea CLA
Modified: 2017-02-23 14:18 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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