Skip to content

Instantly share code, notes, and snippets.

@rubenrangel
Created November 2, 2012 21:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rubenrangel/4004540 to your computer and use it in GitHub Desktop.
Save rubenrangel/4004540 to your computer and use it in GitHub Desktop.
A Sublime Text code snippet that creates a header for Java methods. Fields are as follows: Description of method, parameter names, parameter descriptions, and the return description.
<snippet>
<content><![CDATA[
/**
* ${1:[Description of method]}
*
* @param ${2:[param name]} ${3:[parameter description]}
${4: * @param ${5:[param name]} ${6:[parameter description]}}
* @return ${7:[return description]}
*/
]]></content>
<tabTrigger>/**</tabTrigger>
<scope>source.java</scope>
<description>Standard Java method header template</description>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment