Skip to content

Instantly share code, notes, and snippets.

@kylejohnston
Last active October 14, 2018 17:17
Show Gist options
  • Select an option

  • Save kylejohnston/91c0962d96e531166feed8e97d448993 to your computer and use it in GitHub Desktop.

Select an option

Save kylejohnston/91c0962d96e531166feed8e97d448993 to your computer and use it in GitHub Desktop.
Hype Framework - Sublime Completions
{
"scope": "source.pde",
"completions":
[
// push pop matrix
{ "trigger": "push|pop|matrix", "contents": "\tpushMatrix();\n\t\ttranslate($1,$2,$3);\n\t\trotateX(radians($4));\n\t\trotateY(radians($5));\n\t\trotateZ(radians($6));\n\n\tpopMatrix();\n" },
// hello world
{ "trigger": "hello|world", "contents": "Hello World!" }
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment