开发者

Creating own marker with annotations in Eclipse-Plugin?

开发者 https://www.devze.com 2023-03-05 15:39 出处:网络
I want to create a marker with own annotations within a PlugIn us开发者_如何学Cing the common Eclipse Editor and not adding an own editor. The markers will be set when an action is performed;

I want to create a marker with own annotations within a PlugIn us开发者_如何学Cing the common Eclipse Editor and not adding an own editor. The markers will be set when an action is performed;

I read some stuff about markers in an own editor, but not in the common editor. Has anyone an idea? thanks


It is not necessarily all that difficult... Have a look at these slides from a course I have run on numerous occations.


Markers can be created on a Resource (file/folder), using IResource.createMarker(). You don't need an editor for that. The existing editors should be able to display the markers on the resource.

0

精彩评论

暂无评论...
验证码 换一张
取 消