eclipse - Programmatically add code templates? -
i'm writing custom xml editor our project , want add support templates. i.e when user writes "<ab:mytag
" , presses ctrl + space option of inserting chunk of text default/dummy parameters.
but should available in xml editor. how go this?
clarification: templates i'm talking ones available when write example "syso" in java editor , press ctrl + space. in preferences can add own templates. want do define own templates, own xml tags, want in code , have effect editor
after alot of searching fount ppt answered questions had:
the templates after can programatically added use of extension point org.eclipse.ui.editors.templates
Comments
Post a Comment