We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f549132 commit 4d9b2fbCopy full SHA for 4d9b2fb
rescript.configuration.json
@@ -40,7 +40,12 @@
40
[
41
"`",
42
"`"
43
- ]
+ ],
44
+ {
45
+ "open": "/*",
46
+ "close": " */",
47
+ "notIn": ["string"]
48
+ }
49
],
50
"surroundingPairs": [
51
@@ -69,5 +74,20 @@
69
74
"start": "^\\s*//\\s*#?region\\b",
70
75
"end": "^\\s*//\\s*#?endregion\\b"
71
76
}
72
- }
77
+ },
78
+ "onEnterRules": [
79
80
+ "beforeText": { "pattern": "^\\s*/\\*(?!/)([^\\*]|\\*(?!/))*$" },
81
+ "afterText": { "pattern": "^\\s*\\*/$" },
82
+ "action": { "indent": "indentOutdent", "appendText": " "}
83
84
85
86
+ "action": { "indent": "none", "appendText": " "}
87
88
89
+ "beforeText": { "pattern": "^(\\t|[ ])*[ ]\\*/\\s*$" },
90
+ "action": { "indent": "none", "removeText": 1 }
91
92
+ ]
73
93
0 commit comments