Skip to content

Commit

Permalink
Improve hihgliting for Qbs language syntax in editor
Browse files Browse the repository at this point in the history
  • Loading branch information
denis-shienkov committed Oct 12, 2024
1 parent 507e240 commit aa7bb49
Show file tree
Hide file tree
Showing 4 changed files with 315 additions and 134 deletions.
87 changes: 87 additions & 0 deletions language-configuration.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
{
"comments": {
"lineComment": "//",
"blockComment": [
"/*",
"*/"
]
},
"brackets": [
[
"{",
"}"
],
[
"[",
"]"
],
[
"(",
")"
]
],
"autoClosingPairs": [
[
"{",
"}"
],
[
"[",
"]"
],
[
"(",
")"
],
[
"\"",
"\""
],
[
"'",
"'"
],
[
"`",
"`"
],
[
"/*",
"*/"
],
[
"/**",
"*/"
],
[
"/*!",
"*/"
]
],
"surroundingPairs": [
[
"{",
"}"
],
[
"[",
"]"
],
[
"(",
")"
],
[
"\"",
"\""
],
[
"'",
"'"
],
[
"`",
"`"
]
]
}
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,16 @@
"extensions": [
".qbs"
],
"aliases": [
"QBS",
"Qbs",
"qbs"
],
"icon": {
"light": "res/cube.svg",
"dark": "res/cube.svg"
},
"configuration": "./qbs-language-configuration.json"
"configuration": "./language-configuration.json"
}
],
"grammars": [
Expand Down
30 changes: 0 additions & 30 deletions qbs-language-configuration.json

This file was deleted.

Loading

0 comments on commit aa7bb49

Please sign in to comment.