Skip to main content
  • Log in
  • Manage Cookies
Eclipse Plugins, Bundles and Products - Eclipse Marketplace
  • My Marketplace
  • Add Content
  • More
      • Community

      • Marketplace
      • Events
      • Planet Eclipse
      • Newsletter
      • Videos
      • Blogs
      • Participate

      • Report a Bug
      • Forums
      • Mailing Lists
      • Wiki
      • IRC
      • Research
      • Eclipse IDE

      • Download
      • Learn More
      • Documentation
      • Getting Started / Support
      • How to Contribute
      • IDE and Tools
      • Newcomer Forum
  1. Home
  2. Marketplace
  3. Tools (1323)
  4. Java coded templates ( or code snippets )

Java coded templates ( or code snippets )

Java coded templates ( or code snippets )
19
0
Install

Drag to Install!

Drag to your running Eclipse* workspace.
*Requires Eclipse Marketplace Client

Add this URL to your Eclipse Installation to reach this solution's update site.

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)

https://github.com/florianingerl/com.florianingerl.javacodedcompletionproposals/raw/master/releng/com.florianingerl.javacodedtemplates.updatesite/target/repository

Learn more...

Screenshot 0

Screenshot 1

Screenshot 2

Details Group Tabs

Details

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
Tags:
  • Eclipse Plugin,
  • Eclipse Java,
  • snippets,
  • templates,
  • editor extension
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: 
Mon, 2017-05-22 16:19
License: 
EPL
Date Updated: 
Fri, 2021-01-15 10:10
Submitted by: 
Florian Ingerl
Screenshots
Screenshot 0
Screenshot 1
Screenshot 2
Metrics
DateRankingInstallsClickthroughs
May 2022405/75817 (0.01%)14
April 2022437/81725 (0.01%)14
March 2022405/82037 (0.01%)2
February 2022459/81919 (0.01%)4
January 2022445/81721 (0.01%)8
December 2021465/81121 (0.01%)21
November 2021460/82221 (0.01%)24
October 2021411/82631 (0.01%)24
September 2021364/83042 (0.01%)19
August 2021392/81833 (0.01%)13
July 2021442/82624 (0.01%)27
June 2021455/84225 (0.01%)25
View Data for all Listings
Errors

Unsuccessful Installs in the last 7 Days: 0

Download last 500 errors (CSV)
External Install Button

Marketplace Drag to Install button

By adding the following code below to your website you will be able to add an install button for Java coded templates ( or code snippets ).

HTML Code:


Markdown Syntax:



Output: Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client
Tuesday, May 17, 2022 - 21:24
  • Sign in to post reviews.

Markets

  • Eclipse Project (4)
  • Tools (1323)
    • Application Development Frameworks (163)
    • Application Management (27)
    • Application Server (33)
    • BIRT (10)
    • Build and Deploy (102)
    • Business Intelligence, Reporting and Charting (14)
    • Code Management (116)
    • Collaboration (37)
    • Database (46)
    • Database Development (34)
    • Database Persistence (17)
    • Documentation (61)
    • Eclipse Kura (112)
    • Eclipse SmartHome (46)
    • EclipseRT Target Platform Components (8)
    • Editor (336)
    • Entertainment (14)
    • General Purpose Tools (122)
    • Graphics (33)
    • IDE (339)
    • Internet of Things (IoT) (34)
    • J2EE Development Platform (44)
    • J2ME (6)
    • Languages (154)
    • Linux Tools (19)
    • Logging (22)
    • Mobile and Device Development (50)
    • Modeling (91)
    • Modeling Tools (146)
    • Mylyn Connectors (20)
    • Network (14)
    • Other (73)
    • Process (18)
    • Profiling (22)
    • Programming Languages (99)
    • Reporting (32)
    • Rich Client Applications (40)
    • Science (4)
    • SCM (20)
    • Search (41)
    • SOA Development (15)
    • Source Code Analyzer (100)
    • Systems Development (56)
    • Team Development (55)
    • Testing (90)
    • Tools (562)
    • UI (93)
    • UML (41)
    • Web (91)
    • Web Services (32)
    • Web, XML, Java EE and OSGi Enterprise Development (32)
    • XML (29)
  • IoT (162)
    • Eclipse Kura (112)
    • Eclipse SmartHome (46)
  • RCP Applications (78)
  • Training & Consulting (52)
  • Long Term Support (11)

Search

Advanced Search

More like this

  • Snipmatch
  • UML Lab Modeling IDE
  • Eclipse Enterprise Java and Web Developer Tools
  • LiClipse
  • LiClipseText

Favorited by

Eclipse Foundation

  • About Us
  • Contact Us
  • Donate
  • Members
  • Governance
  • Code of Conduct
  • Logo and Artwork
  • Board of Directors

Legal

  • Publishing Guidelines
  • Privacy Policy
  • Terms of Use
  • Copyright Agent
  • Eclipse Public License
  • Legal Resources

Useful Links

  • Welcome to Marketplace
  • Report a Bug
  • Documentation
  • How to Contribute
  • Mailing Lists
  • Forums
  • Marketplace

Other

  • IDE and Tools
  • Projects
  • Working Groups
  • Research@Eclipse
  • Report a Vulnerability
  • Service Status

Copyright © Eclipse Foundation. All Rights Reserved.

Back to the top