Skip to content

Commit 47d4348

Browse files
authored
chore: auto-insertion of /// and concealment of /**/ comments (#93)
1 parent 927582d commit 47d4348

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

language-configuration.json

+10-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"comments": {
3-
"lineComment": "//",
4-
"blockComment": ["/*", "*/"]
3+
"lineComment": "//"
54
},
65
"wordPattern": "(`[^`]+`)|([a-zA-Z$_][a-zA-Z0-9$_]*)",
76
// symbols used as brackets
@@ -23,5 +22,14 @@
2322
["[", "]"],
2423
["(", ")"],
2524
["\"", "\""]
25+
],
26+
"onEnterRules": [
27+
{
28+
"beforeText": "^\\s*///.*$",
29+
"action": {
30+
"indent": "none",
31+
"appendText": "/// "
32+
}
33+
}
2634
]
2735
}

0 commit comments

Comments
 (0)