Skip to content

Commit a57d97e

Browse files
Merge pull request #1 from relogiclabs/develop
Add JSchema Syntax Highlighting
2 parents d007d7a + 86c5937 commit a57d97e

File tree

9 files changed

+480
-2
lines changed

9 files changed

+480
-2
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

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,14 @@
1-
# JSchema-VSCode
2-
JSchema Support for Visual Studio Code
1+
# JSchema - The Customizable JSON Schema
2+
JSchema, a new JSON Schema, prioritizes simplicity, conciseness, and readability, making it intuitive and accessible without the need for extensive prior knowledge. It offers efficient read-write facilities, precise JSON document definition through various data types and functions, and extensibility to meet modern web service diverse requirements. To start your journey with JSchema library, please consult the documentation available for [C#](https://relogiclabs.github.io/JSchema-DotNet) and [Java](https://relogiclabs.github.io/JSchema-Java/articles/introduction).
3+
4+
## Features
5+
This extension provides syntax highlighting support for JSchema and its supported file type `.jscm`
6+
7+
## Example
8+
![Syntax Highlighting](./images/syntax-highlighting.png)
9+
10+
## Release Notes
11+
12+
* Initial release
13+
14+
**Enjoy!**

images/jschema-icon.png

8.17 KB
Loading

images/syntax-highlighting.png

460 KB
Loading

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)