Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 365685

Summary: [templates] editor templates need functions as well as variables
Product: [Eclipse Project] Platform Reporter: Ray Case <ray.case>
Component: TextAssignee: Platform-Text-Inbox <platform-text-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3 CC: daniel_megert
Version: 3.8   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

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 ***