Bug 365685 - [templates] editor templates need functions as well as variables
Summary: [templates] editor templates need functions as well as variables
Status: CLOSED DUPLICATE of bug 12756
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.8   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-05 22:30 EST by Ray Case CLA
Modified: 2011-12-06 02:00 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ray Case CLA 2011-12-05 22:30:47 EST
Build Identifier: Version: Indigo Service Release 1 Build id: 20110916-0149

Allow java.editor.templates to allow String manipulations.  Specifically, in addition to 'insert variable' there needs to be functions like toUpperCase, toLowerCase or toCamelCase  

In my case, I am using the 'enclosing type' variable to generate a variable name.  The enclosing type is capitalized where the variable name needs to start with a lower case letter to fit java standards.   So the template *almost* generates the correct template code, but needs to have the variable renamed. 

Thanks!
Ray

Reproducible: Always

Steps to Reproduce:
enhancement...
Comment 1 Dani Megert CLA 2011-12-06 02:00:09 EST

*** This bug has been marked as a duplicate of bug 12756 ***