-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathlanguage-configuration.json
More file actions
63 lines (63 loc) · 2.09 KB
/
Copy pathlanguage-configuration.json
File metadata and controls
63 lines (63 loc) · 2.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
// Symbols used as comment
"comments": {
"lineComment": "//",
"blockComment": [ "/*", "*/" ]
},
// Symbols used as brackets: VSCode highlights the bracket with its matching pair
"brackets": [
[ "{", "}" ],
[ "[", "]" ],
[ "(", ")" ],
[ "if", "end" ],
[ "match", "end" ],
[ "then", "else" ],
[ "try", "end" ],
[ "for", "end" ],
[ "repeat", "end" ],
[ "while", "end" ]
],
// Symbols that auto-close when typing
"autoClosingPairs": [
{ "open": "{", "close": "}" },
{ "open": "[", "close": "]" },
{ "open": "(", "close": ")" },
{ "open": "\"\"\"", "close": "\"\"\"", "notIn": ["string", "comment"] },
{ "open": "\"", "close": "\"", "notIn": ["string", "comment"] },
{ "open": "'", "close": "'", "notIn": ["string", "comment"] },
{ "open": "match", "close": "end", "notIn": ["string", "comment"] },
{ "open": "then", "close": "end", "notIn": ["string", "comment"] },
{ "open": "try", "close": "end", "notIn": ["string", "comment"] },
{ "open": "do", "close": "end", "notIn": ["string", "comment"] },
{ "open": "until", "close": "end", "notIn": ["string", "comment"] }
],
// Symbols that can be used to surround a selection
"surroundingPairs": [
[ "{", "}" ],
[ "[", "]" ],
[ "(", ")" ],
[ "\"", "\"" ],
[ "'", "'" ]
],
// Folding
"folding": {
// Hide code
"markers": {
//"start": "=>\\s*$", // Try to catch function definition
//"end": "^\\s*(actor|class|fun|interface|primitive|trait)\\s*"
}
},
// What is considered a word in Pony
"wordPattern": "(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\@\\#\\%\\^\\&\\*\\(\\)\\-\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\\"\\,\\.\\<\\>\\/\\?\\s]+)",
// Indentation rules
"indentationRules": {
},
// On Enter rules
"onEnterRules": [
// "beforeText": "fun\\s\.*=>\\s*$",
// "action": {
// "indent": "indent",
// "appendText": "\"\"\""
//}
]
}