mirror of
https://github.com/godotengine/godot-vscode-plugin.git
synced 2026-01-04 10:09:58 +03:00
feat(snippets): add match statement (#476)
This commit is contained in:
@@ -148,6 +148,13 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"match": {
|
||||||
|
"prefix": "match",
|
||||||
|
"body": [
|
||||||
|
"match ${1:expression}:\n\t${2:pattern}:\n\t\t${3}\n\t_:\n\t\t${0:default}"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
"signal declaration": {
|
"signal declaration": {
|
||||||
"prefix": "signal",
|
"prefix": "signal",
|
||||||
"body": [
|
"body": [
|
||||||
|
|||||||
Reference in New Issue
Block a user