This is an Eclipse plugin that allows the user to write code templates (or code snippets) for the Java editor where some template variables are computed from other template variables.
You can manage your Java-coded templates via the menu Window -> Preferences -> Java -> Editor -> Java-coded templates. Hit the New-button to start coding a new template.
E.g. the following would be code for a template for a private field with a getter-method
private ${type} ${field_name};
public ${type} ${getter: (String type, String field_name) ->
{
String s = Character.toUpperCase( field_name.charAt(0) ) + field_name.substring(1);
if(type.equals("boolean") )
return "is" + s;
else
return "get" + s;
}
}(){
return ${field_name};
}
After having successfully written your template, just type the first letters of the template's name into a Java editor and invoke content assist via Ctrl + Space.
Categories: Editor
Additional Details
Eclipse Versions: Oxygen (4.7), Neon (4.6), Mars (4.5), Photon (4.8), 2018-09 (4.9), 2018-12 (4.10), 2019-03 (4.11), 2019-06 (4.12), 2019-09 (4.13), 2019-12 (4.14), 2020-03 (4.15), 2020-06 (4.16), 2020-09 (4.17), 2020-12 (4.18), 2021-03 (4.19)
Platform Support: Windows, Mac, Linux/GTK
Organization Name: Florian Ingerl
Development Status: Mature
Date Created: Monday, May 22, 2017 - 16:19
License: EPL
Date Updated: Friday, January 15, 2021 - 10:10
Submitted by: Florian Ingerl
Date | Ranking | Installs | Clickthroughs |
---|---|---|---|
April 2024 | 418/670 | 12 | 9 |
March 2024 | 357/694 | 31 | 6 |
February 2024 | 428/687 | 15 | 6 |
January 2024 | 384/691 | 22 | 8 |
December 2023 | 450/671 | 12 | 8 |
November 2023 | 421/686 | 17 | 3 |
October 2023 | 377/673 | 25 | 9 |
September 2023 | 379/663 | 22 | 3 |
August 2023 | 352/673 | 25 | 6 |
July 2023 | 395/668 | 19 | 4 |
June 2023 | 405/669 | 19 | 5 |
May 2023 | 348/671 | 32 | 4 |
Unsuccessful Installs
Unsuccessful Installs in the last 7 Days: 3
Count | Error Message |
---|---|
3 | Cannot continue the operation. There is another install operation in progress. |
Reviews Add new review
Confirmed 1.0.1 Not Working for Eclipse 2023-06
Submitted by Max Gorelkin on Thu, 07/13/2023 - 12:00
Florian,
I could really use this plugin, but it v 1.0.1 doesn't seem to load under Eclipse 2023-06 (4.28.0). Any way to get this working again please?
Thank you so much in advance!
Max
Not working with latest version of eclipse for web developers
Submitted by Ajay Kumar on Thu, 11/24/2022 - 16:03
Not working with latest version of eclipse for java web developers