Skip to content

Commit 8ff3100

Browse files
committed
Add syntax highlighting support for JSchema
1 parent d007d7a commit 8ff3100

File tree

6 files changed

+466
-0
lines changed

6 files changed

+466
-0
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto eol=lf

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.vscode
2+
.idea
3+
node_modules
4+
*.vsix

.vscodeignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.vscode/**
2+
.idea/**
3+
.vscode-test/**
4+
test/**
5+
.gitignore

jschema-configuration.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"comments": {
3+
"lineComment": "//",
4+
"blockComment": [ "/*", "*/" ]
5+
},
6+
"brackets": [
7+
["{", "}"],
8+
["[", "]"],
9+
["(", ")"]
10+
],
11+
"autoClosingPairs": [
12+
["{", "}"],
13+
["[", "]"],
14+
["(", ")"],
15+
["\"", "\""],
16+
["'", "'"]
17+
],
18+
"surroundingPairs": [
19+
["{", "}"],
20+
["[", "]"],
21+
["(", ")"],
22+
["\"", "\""]
23+
]
24+
}

package.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"name": "jschema",
3+
"displayName": "JSchema",
4+
"description": "JSchema support for Visual Studio Code",
5+
"publisher": "RelogicLabs",
6+
"version": "0.5.0",
7+
"license": "AGPL-3.0",
8+
"icon": "images/jschema-icon.png",
9+
"repository": {
10+
"type": "git",
11+
"url": "https://github.com/relogiclabs/JSchema-VSCode"
12+
},
13+
"engines": {
14+
"vscode": "^1.88.0"
15+
},
16+
"categories": [
17+
"Other"
18+
],
19+
"keywords": [
20+
"json schema",
21+
"schema",
22+
"json",
23+
"validation",
24+
"assert",
25+
"test"
26+
],
27+
"contributes": {
28+
"languages": [{
29+
"id": "jschema",
30+
"aliases": ["JSchema", "jschema"],
31+
"extensions": [".jscm"],
32+
"configuration": "./jschema-configuration.json"
33+
}],
34+
"grammars": [{
35+
"language": "jschema",
36+
"scopeName": "source.jschema",
37+
"path": "./syntaxes/jschema.tmGrammar.json"
38+
}]
39+
}
40+
}

0 commit comments

Comments
 (0)