Skip to content

Commit

Permalink
~clone from uniview scaffold
Browse files Browse the repository at this point in the history
  • Loading branch information
AjaniBilby committed Sep 21, 2023
1 parent abf8ae5 commit 9b04754
Show file tree
Hide file tree
Showing 8 changed files with 745 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tools/vscode-extension/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
out
node_modules
client/server
.vscode-test
*.vsix
22 changes: 22 additions & 0 deletions tools/vscode-extension/client/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "salient-lang",
"description": "Salient VSCode Plugin",
"author": "Ajani Bilby",
"license": "MIT",
"version": "0.0.1",
"publisher": "Ajani Bilby",
"repository": {
"type": "git",
"url": "https://github.com/ajanibilby/salient"
},
"engines": {
"vscode": "^1.43.0"
},
"dependencies": {
"vscode-languageclient": "^6.1.3"
},
"devDependencies": {
"@types/vscode": "1.43.0",
"vscode-test": "^1.3.0"
}
}
12 changes: 12 additions & 0 deletions tools/vscode-extension/client/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "es2019",
"lib": ["ES2019"],
"outDir": "out",
"rootDir": "src",
"sourceMap": true
},
"include": ["src"],
"exclude": ["node_modules", ".vscode-test"]
}
62 changes: 62 additions & 0 deletions tools/vscode-extension/language-configuration.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"comments": {
"lineComment": "//",
"blockComment": [
"/*",
"*/"
]
},
"brackets": [
[
"{",
"}"
],
[
"[",
"]"
],
[
"(",
")"
]
],
"autoClosingPairs": [
{
"open": "[",
"close": "]"
},
{
"open": "{",
"close": "}"
},
{
"open": "(",
"close": ")"
},
{
"open": "\"",
"close": "\"",
"notIn": [
"string"
]
}
],
"surroundingPairs": [
[
"{",
"}"
],
[
"[",
"]"
],
[
"(",
")"
],
[
"\"",
"\""
]
]
}
37 changes: 37 additions & 0 deletions tools/vscode-extension/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"name": "uniview",
"displayName": "%displayName%",
"description": "%description%",
"version": "0.0.3",
"publisher": "qupa-project",
"license": "MIT",
"repository": "https://github.com/qupa-project/uniview-vscode",
"engines": {
"vscode": "*"
},
"scripts": {
"package": "vsce package"
},
"contributes": {
"languages": [
{
"id": "uniview",
"extensions": [
".uv"
],
"aliases": [
"Uniview",
"uni-view"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "uniview",
"scopeName": "source.uv",
"path": "./syntaxes/uniview.tmLanguage.json"
}
]
}
}
4 changes: 4 additions & 0 deletions tools/vscode-extension/package.nls.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"displayName": "Salient Language",
"description": "Provides syntax highlighting and bracket matching in Salient-lang files."
}
3 changes: 3 additions & 0 deletions tools/vscode-extension/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Uniview Language Extension

The official syntax highlighter for [uniview](https://github.com/qupa-project/uniview-lang)
Loading

0 comments on commit 9b04754

Please sign in to comment.