Bug 198886 - [templates] Clipboard and own functions support in templates.
Summary: [templates] Clipboard and own functions support in templates.
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P5 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
: 21942 245790 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-08-05 04:53 EDT by Martin Šuška CLA
Modified: 2019-09-06 15:31 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.