Bug 198886

Summary: [templates] Clipboard and own functions support in templates.
Product: [Eclipse Project] Platform Reporter: Martin Šuška <betlista+eclipse>
Component: TextAssignee: Platform-Text-Inbox <platform-text-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P5 CC: daniel_megert, philippe_mulet, sandipchitale
Version: 3.4Keywords: helpwanted
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Martin Šuška CLA 2007-08-05 04:53:42 EDT
It would be great if there is a clipboard support in templates. It simply replace ${clipboard} with clipboard content (if it's a text type). In that moment it would be interesting to have some simple functions to change this text, for example makeFirstCharUpper() or have possibility to write own function that alters the text. I think that function have to implement interface 
  String functionName(String)
Comment 1 Dani Megert CLA 2007-08-06 02:43:02 EDT
You can add that on top of Eclipse by declaring a template variable resolver (see org.eclipse.ui.editors.templates extension point).

You could then contribute this back to the Eclipse project by attaching a patch here.
Comment 2 Dani Megert CLA 2008-09-01 03:03:22 EDT
*** Bug 245790 has been marked as a duplicate of this bug. ***
Comment 3 Dani Megert CLA 2008-09-01 03:03:50 EDT
*** Bug 21942 has been marked as a duplicate of this bug. ***
Comment 4 Eclipse Webmaster CLA 2019-09-06 15:31:51 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.