-
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #81 from migeyusu/master
able to load from local configuration files
- Loading branch information
Showing
7 changed files
with
626 additions
and
10 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
src/TextMateSharp.Grammars.Tests/GrammarAssets/qml/language-configuration.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"comments": { | ||
// symbol used for single line comment. Remove this entry if your language does not support line comments | ||
"lineComment": "//", | ||
// symbols used for start and end a block comment. Remove this entry if your language does not support block comments | ||
"blockComment": [ "/*", "*/" ] | ||
}, | ||
// symbols used as brackets | ||
"brackets": [ | ||
["{", "}"], | ||
["[", "]"], | ||
["(", ")"] | ||
], | ||
// symbols that are auto closed when typing | ||
"autoClosingPairs": [ | ||
["{", "}"], | ||
["[", "]"], | ||
["(", ")"], | ||
["\"", "\""], | ||
["'", "'"], | ||
["`", "`"] | ||
], | ||
// symbols that can be used to surround a selection | ||
"surroundingPairs": [ | ||
["{", "}"], | ||
["[", "]"], | ||
["(", ")"], | ||
["\"", "\""], | ||
["'", "'"], | ||
["`", "`"] | ||
] | ||
} |
105 changes: 105 additions & 0 deletions
105
src/TextMateSharp.Grammars.Tests/GrammarAssets/qml/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
{ | ||
"name": "felgo", | ||
"displayName": "QML Syntax/Tools", | ||
"description": "QML syntax highlighting and autocompletion. Run, test and develop Qt Quick applications with QML Hot Reload.", | ||
"publisher": "felgo", | ||
"author": { | ||
"name": "Felgo GmbH", | ||
"url": "https://felgo.com", | ||
"email": "[email protected]" | ||
}, | ||
"version": "2.0.1", | ||
"engines": { | ||
"vscode": "^1.81.0" | ||
}, | ||
"categories": [ | ||
"Programming Languages", | ||
"Other" | ||
], | ||
"keywords": [ | ||
"QML", | ||
"Mobile App", | ||
"Android", | ||
"iOS", | ||
"Qt" | ||
], | ||
"activationEvents": [ | ||
"onCommand:qml.runWebLive", | ||
"onCommand:qml.runLive", | ||
"workspaceContains:*.pro", | ||
"workspaceContains:**/.qml", | ||
"onLanguage:qml" | ||
], | ||
"main": "./src/extension.js", | ||
"preview": false, | ||
"contributes": { | ||
"languages": [ | ||
{ | ||
"id": "qml", | ||
"aliases": [ | ||
"QML", | ||
"qml" | ||
], | ||
"extensions": [ | ||
".qml" | ||
], | ||
"configuration": "./language-configuration.json" | ||
} | ||
], | ||
"grammars": [ | ||
{ | ||
"language": "qml", | ||
"scopeName": "source.qml", | ||
"path": "./syntaxes/qml.tmLanguage.json" | ||
} | ||
], | ||
"commands": [ | ||
{ | ||
"command": "qml.runWebLive", | ||
"title": "QML: Launch Web Live Client" | ||
}, | ||
{ | ||
"command": "qml.runLive", | ||
"title": "QML: Connect to Mobile Live Client" | ||
} | ||
] | ||
}, | ||
"qna": "https://felgo.com/developers/forums", | ||
"bugs": { | ||
"url": "https://felgo.com/developers/forums" | ||
}, | ||
"icon": "images/vscode-qml-logo.png", | ||
"scripts": { | ||
"lint": "eslint .", | ||
"pretest": "npm run lint", | ||
"test": "node ./test/runTest.js" | ||
}, | ||
"devDependencies": { | ||
"@types/vscode": "^1.81.0", | ||
"@types/mocha": "^10.0.1", | ||
"@types/node": "16.x", | ||
"eslint": "^8.47.0", | ||
"glob": "^10.3.3", | ||
"mocha": "^10.2.0", | ||
"typescript": "^5.1.6", | ||
"@vscode/test-electron": "^2.3.4" | ||
}, | ||
"dependencies": { | ||
"lowdb": "^1.0.0", | ||
"puid": "^1.0.7", | ||
"ws": "^8.2.2" | ||
}, | ||
"__metadata": { | ||
"id": "a2715b65-4bbb-49c4-bdc6-fa47994e3bb9", | ||
"publisherId": "ee85075b-b1d9-4fd6-93f5-11b4abeacc3e", | ||
"publisherDisplayName": "Felgo", | ||
"targetPlatform": "undefined", | ||
"isApplicationScoped": false, | ||
"isPreReleaseVersion": false, | ||
"hasPreReleaseVersion": false, | ||
"installedTimestamp": 1727576498238, | ||
"pinned": false, | ||
"preRelease": false, | ||
"source": "gallery" | ||
} | ||
} |
335 changes: 335 additions & 0 deletions
335
src/TextMateSharp.Grammars.Tests/GrammarAssets/qml/syntaxes/qml.tmLanguage.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters