Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/extensions/groovy/language-configuration.json
3290 views
1
{
2
"comments": {
3
"lineComment": "//",
4
"blockComment": [
5
"/*",
6
"*/"
7
]
8
},
9
"brackets": [
10
[
11
"{",
12
"}"
13
],
14
[
15
"[",
16
"]"
17
],
18
[
19
"(",
20
")"
21
]
22
],
23
"autoClosingPairs": [
24
[
25
"{",
26
"}"
27
],
28
[
29
"[",
30
"]"
31
],
32
[
33
"(",
34
")"
35
],
36
{
37
"open": "\"",
38
"close": "\"",
39
"notIn": [
40
"string"
41
]
42
},
43
{
44
"open": "'",
45
"close": "'",
46
"notIn": [
47
"string"
48
]
49
}
50
],
51
"surroundingPairs": [
52
[
53
"{",
54
"}"
55
],
56
[
57
"[",
58
"]"
59
],
60
[
61
"(",
62
")"
63
],
64
[
65
"\"",
66
"\""
67
],
68
[
69
"'",
70
"'"
71
]
72
],
73
"onEnterRules": [
74
// Add // when pressing enter from inside line comment
75
{
76
"beforeText": {
77
"pattern": "\/\/.*"
78
},
79
"afterText": {
80
"pattern": "^(?!\\s*$).+"
81
},
82
"action": {
83
"indent": "none",
84
"appendText": "// "
85
}
86
},
87
]
88
}
89
90