mirror of
https://github.com/godotengine/godot-vscode-plugin.git
synced 2025-12-31 13:48:24 +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": {
|
||||
"prefix": "signal",
|
||||
"body": [
|
||||
|
||||
Reference in New Issue
Block a user