Created
August 20, 2017 14:40
-
-
Save ninadingole/e153a11fba9d64ff3ad23df0cf2a61df to your computer and use it in GitHub Desktop.
Eclipse Code Templates
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This gist contains all the template I create for my use |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" standalone="no"?><templates><template autoinsert="true" context="java" deleted="false" description="Setter and Getter" enabled="true" name="setget">private ${Type} ${field}; | |
| |
public ${Type} get${Field}(){ return this.${field}; } | |
| |
public void set${Field}(${Type} ${field}) { this.${field} = ${field}; };</template></templates> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" standalone="no"?><templates><template autoinsert="true" context="java" deleted="false" description="" enabled="true" name="springprop">${:import(org.springframework.beans.factory.annotation.Value)} | |
@Value("$${${key}}") | |
private ${type} ${newName};</template></templates> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment