Skip to content

Instantly share code, notes, and snippets.

@lucivaldo
Last active October 29, 2016 13:42
Show Gist options
  • Save lucivaldo/534361e3348d06a9f831d2ced2696bf9 to your computer and use it in GitHub Desktop.
Save lucivaldo/534361e3348d06a9f831d2ced2696bf9 to your computer and use it in GitHub Desktop.
Snippet para o Sublime para gerar o corpo da classe com o método main
<snippet>
<content><![CDATA[
public class ${1:${TM_FILENAME/(.+)\..+|.*/$1/:name}} {
public static void main(String[] args) {
${2}
}
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>clm</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.java</scope>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment