Closed
Description
1, seems somewhere did not set for snip compl item:
item: {'label': 'for', 'data': {'type': 2}, 'kind': 15}
e.g: no insertTextFormat
is 2 found.
- perhaps should be using 'prefix' as its label, or following patch should be required.
diff --git a/server/snippets.json b/server/snippets.json
index f7ea08b..aa3bdab 100644
--- a/server/snippets.json
+++ b/server/snippets.json
@@ -39,13 +39,13 @@
"description": "! operator",
"prefix": "not",
"body": [
"!${1:expression}"
]
},
- "compare to": {
+ "compare-to": {
"description": "comparison operator",
"prefix": "compare-to",
"body": [
"${1:expression} ${2|<,>,<=,>=,==,!=|} ${3:expression}"
]
},
@@ -68,13 +68,13 @@
"prefix": "if",
"body": [
"if (${1:condition})",
"\t$0"
]
},
- "if else": {
+ "if-else": {
"description": "if else operator",
"prefix": "if-else",
"body": [
"if (${1:condition})",
"\t${2:print}",
"else",
@@ -87,13 +87,13 @@
"prefix": "while",
"body": [
"while (${1:condition})",
"\t$0"
]
},
- "do while": {
+ "do-while": {
"description": "do while operator",
"prefix": "do-while",
"body": [
"do",
"\t$0",
"while (${1:condition})"
Metadata
Metadata
Assignees
Labels
No labels