Files
vscode/extensions/groovy/language-configuration.json
T
05e29316e7 fix: bug in Restrict continue comment (#322668)
* fix: Restrict continue comment to whitespace separated slashes

* fix: bug introduced in #321230

---------

Co-authored-by: Dmitriy Vasyura <dmitriv@microsoft.com>
2026-07-29 00:47:49 +00:00

85 lines
805 B
JSON

{
"comments": {
"lineComment": "//",
"blockComment": [
"/*",
"*/"
]
},
"brackets": [
[
"{",
"}"
],
[
"[",
"]"
],
[
"(",
")"
]
],
"autoClosingPairs": [
[
"{",
"}"
],
[
"[",
"]"
],
[
"(",
")"
],
{
"open": "\"",
"close": "\"",
"notIn": [
"string"
]
},
{
"open": "'",
"close": "'",
"notIn": [
"string"
]
}
],
"surroundingPairs": [
[
"{",
"}"
],
[
"[",
"]"
],
[
"(",
")"
],
[
"\"",
"\""
],
[
"'",
"'"
]
],
"onEnterRules": [
// Add // when pressing enter from inside line comment
{
"beforeText": "^\\s*//\\s*\\S|\\s//\\s+\\S",
"afterText": "^(?!\\s*$)",
"action": {
"indent": "none",
"appendText": "// "
}
},
]
}