Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » IMP » New annotation creation service?
New annotation creation service? [message #573987] Fri, 07 November 2008 22:40
Robert M. Fuhrer is currently offline Robert M. FuhrerFriend
Messages: 294
Registered: July 2009
Senior Member
Hi All,

We're considering adding a new IDE service for IMP users to add
arbitrary annotations to the source editor presentation. The
basic idea would be for the service implementation to call a
hook method and provide it a position, a message, and appearance
attributes (in some form or another). The service implementation
would be called for each model/AST update in the source editor.

The general motivation would be for a client to analyze the AST
in some way and produce a visible presentation of the results.

[Note that there is already an IMP service defined for Mark
Occurrences, so that use case is already covered.]

Given that calling the annotation service on each model update
would require the analysis to be suitably lightweight, we could
probably also arrange for such a service to be called at build
time, when more expensive analyses could be performed (e.g.
certain kinds of smell detection).

Does any of this sound useful? Does anyone have a concrete need
for something like this?

-- Bob

Robert M. Fuhrer
Research Staff Member
Programming Technologies Dept.
IBM T.J. Watson Research Center

IDE Meta-tooling Platform Project Lead (
X10: Productive High-Performance Parallel Programming (
Previous Topic:Message severity and source editor annotations
Next Topic:Parser message adaptation/customization
Goto Forum:

Current Time: Sun Sep 23 08:02:04 GMT 2018

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

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

Back to the top