Last active
August 29, 2015 14:24
-
-
Save carolusquintus/fb9199025cf4a9c1d5bf to your computer and use it in GitHub Desktop.
Sublime Text snippet to genereate getters and setter, based on http://jgroovy.blogspot.mx/2012/04/sublime-snippet-for-creating-getter-and.html
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
<snippet> | |
<content><![CDATA[public ${1:returnType} get${2:Property}() { | |
return ${3:property}; | |
} | |
public void set${2:Property}(${1:returnType} ${3:property}) { | |
this.${3:property} = ${3:property}; | |
}]]></content> | |
<tabTrigger>gs</tabTrigger> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment