Skip to content

Snippets

Iblis Lin edited this page Dec 31, 2017 · 2 revisions

Latex

Gallery

Here is a collection of user-shared snippets. You can follow this guide to add your own snippets.

function declaration with ending comment

Author: Iblis Lin

	"Function Declaration": {
		"prefix": "function",
		"body": [
			"function ${1:name}($2)",
			"\t$0",
			"end  # function ${1:name}"
		],
		"description": "Function declaration with ending comment"
	},
	"Macro Declaration": {
		"prefix": "macro",
		"body": [
			"macro ${1:name}($2)",
			"\t$0",
			"end  # macro ${1:name}"
		],
		"description": "Macro declaration with ending comment"
	}


You can’t perform that action at this time.