Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » CompilationParticipant and Markers in Problems View
CompilationParticipant and Markers in Problems View [message #1064210] Tue, 18 June 2013 05:28 Go to next message
Eclipse UserFriend
Hi,

i have a question on the useage of CompilationParticipant

if have implemented an implementation of CompilationParticipant
and implemented reconcile(ReconcileContext) to add custom
problem markers.

this works fine in the editor, but the problem do not appear
in the Problems View.

What could be the reason for that?
Re: CompilationParticipant and Markers in Problems View [message #1064225 is a reply to message #1064210] Tue, 18 June 2013 06:31 Go to previous messageGo to next message
Eclipse UserFriend
That's expected, the reconciler only works for the editor (to provide markers even for unsaved changes).
The Problems View is populated by the the builder (which also creates the .class files).

You probably want your participant to also work during one of the build* methods.
HTH,
Stephan
Re: CompilationParticipant and Markers in Problems View [message #1064246 is a reply to message #1064225] Tue, 18 June 2013 07:52 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

so there is no hook with an ast already built that i can use for doing some analysis?
Re: CompilationParticipant and Markers in Problems View [message #1064248 is a reply to message #1064246] Tue, 18 June 2013 08:02 Go to previous message
Eclipse UserFriend
Hi Christian,

I don't know about any such hook. The builder doesn't create a DOM AST because it works entirely on the private compiler AST.
Creating DOM AST must be explicitly requested (and reconcile creates AST only for files open in an editor I think).

best,
Stephan
Previous Topic:How to fix updates
Next Topic:Export Eclipse product
Goto Forum:
  


Current Time: Tue Jul 01 13:14:23 EDT 2025

Powered by FUDForum. Page generated in 0.04437 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top