Skip to content
Snippets Groups Projects
Commit 562f5e21 authored by s1995588's avatar s1995588
Browse files

added a snippet for functions

parent eaf4163e
No related branches found
No related tags found
No related merge requests found
......@@ -68,7 +68,15 @@
"scope": "modest",
"description": "property",
"body": [
"property ${1:NAME} = ${2|Pmax,Pmin,Xmax,Xmin,Smax,Smin|}($0)"
"property ${1:NAME} = ${2|Pmax,Pmin,Xmax,Xmin,Smax,Smin|}($3);$4"
]
},
"function": {
"prefix": "function",
"scope": "modest",
"description": "function",
"body": [
"function ${1:RETURN} ${2:NAME}(${3:PARAMETERS}) = ${4:FUNCTION};$0"
]
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment