New annotation creation service? [message #573987] |
Fri, 07 November 2008 22:40 |
Robert M. Fuhrer 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?
--
Cheers,
-- Bob
--------------------------------
Robert M. Fuhrer
Research Staff Member
Programming Technologies Dept.
IBM T.J. Watson Research Center
IDE Meta-tooling Platform Project Lead (http://www.eclipse.org/imp)
X10: Productive High-Performance Parallel Programming (http://x10.sf.net)
|
|
|
Powered by
FUDForum. Page generated in 0.03656 seconds