aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorDanielGavin <danielgavin5@hotmail.com>2023-04-27 22:45:45 +0200
committerDanielGavin <danielgavin5@hotmail.com>2023-04-27 22:45:45 +0200
commitdf680916e378d49965416bfd7f3dc4151d81f6ed (patch)
treecbccf09800f5b540bfa2cc829e7ec335701fd39a /editors
parentbd1ef9fd9f50319ebe062cfec97cff427a56763b (diff)
Update vscode extension
Diffstat (limited to 'editors')
-rw-r--r--editors/vscode/README.md6
-rw-r--r--editors/vscode/images/emblem.pngbin0 -> 10217 bytes
-rw-r--r--editors/vscode/package-lock.json48
-rw-r--r--editors/vscode/package.json44
-rw-r--r--editors/vscode/tsconfig.json4
5 files changed, 41 insertions, 61 deletions
diff --git a/editors/vscode/README.md b/editors/vscode/README.md
index 03ee14f..c861515 100644
--- a/editors/vscode/README.md
+++ b/editors/vscode/README.md
@@ -2,10 +2,6 @@
Language server that gives go to definition, completion, signature help, syntax highlighting, and many other useful features.
-**Note** the project is in early development.
-# Screenshots
+![Example](images/completion.png)
-![Procedure example](images/completion.gif)
-
-![Completion example](images/procedure.gif) \ No newline at end of file
diff --git a/editors/vscode/images/emblem.png b/editors/vscode/images/emblem.png
new file mode 100644
index 0000000..2d8fc9c
--- /dev/null
+++ b/editors/vscode/images/emblem.png
Binary files differ
diff --git a/editors/vscode/package-lock.json b/editors/vscode/package-lock.json
index ff03be4..7b5c369 100644
--- a/editors/vscode/package-lock.json
+++ b/editors/vscode/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "ols",
- "version": "0.1.2",
+ "version": "0.1.12",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "ols",
- "version": "0.1.2",
+ "version": "0.1.12",
"dependencies": {
"adm-zip": "^0.5.9",
"https-proxy-agent": "^5.0.0",
@@ -16,20 +16,20 @@
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.0",
- "@types/node": "^14.18.12",
+ "@types/node": "~16.11.7",
"@types/node-fetch": "^2.6.1",
- "@types/vscode": "^1.65.0",
+ "@types/vscode": "~1.66.0",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"eslint": "^7.32.0",
"glob": "^7.2.0",
"mocha": "^8.4.0",
"typescript": "^4.6.2",
- "vsce": "^2.7.0",
+ "vsce": "^2.9.2",
"vscode-test": "^1.6.1"
},
"engines": {
- "vscode": "^1.65.0"
+ "vscode": "^1.66.0"
}
},
"node_modules/@babel/code-frame": {
@@ -209,9 +209,9 @@
"dev": true
},
"node_modules/@types/node": {
- "version": "14.18.12",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.12.tgz",
- "integrity": "sha512-q4jlIR71hUpWTnGhXWcakgkZeHa3CCjcQcnuzU8M891BAWA2jHiziiWEPEkdS5pFsz7H9HJiy8BrK7tBRNrY7A==",
+ "version": "16.11.68",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.68.tgz",
+ "integrity": "sha512-JkRpuVz3xCNCWaeQ5EHLR/6woMbHZz/jZ7Kmc63AkU+1HxnoUugzSWMck7dsR4DvNYX8jp9wTi9K7WvnxOIQZQ==",
"dev": true
},
"node_modules/@types/node-fetch": {
@@ -225,9 +225,9 @@
}
},
"node_modules/@types/vscode": {
- "version": "1.65.0",
- "resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.65.0.tgz",
- "integrity": "sha512-wQhExnh2nEzpjDMSKhUvnNmz3ucpd3E+R7wJkOhBNK3No6fG3VUdmVmMOKD0A8NDZDDDiQcLNxe3oGmX5SjJ5w==",
+ "version": "1.66.0",
+ "resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.66.0.tgz",
+ "integrity": "sha512-ZfJck4M7nrGasfs4A4YbUoxis3Vu24cETw3DERsNYtDZmYSYtk6ljKexKFKhImO/ZmY6ZMsmegu2FPkXoUFImA==",
"dev": true
},
"node_modules/@typescript-eslint/eslint-plugin": {
@@ -2967,9 +2967,9 @@
"dev": true
},
"node_modules/semver": {
- "version": "7.3.5",
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz",
- "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==",
+ "version": "7.3.8",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz",
+ "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==",
"dependencies": {
"lru-cache": "^6.0.0"
},
@@ -4004,9 +4004,9 @@
"dev": true
},
"@types/node": {
- "version": "14.18.12",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.12.tgz",
- "integrity": "sha512-q4jlIR71hUpWTnGhXWcakgkZeHa3CCjcQcnuzU8M891BAWA2jHiziiWEPEkdS5pFsz7H9HJiy8BrK7tBRNrY7A==",
+ "version": "16.11.68",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.68.tgz",
+ "integrity": "sha512-JkRpuVz3xCNCWaeQ5EHLR/6woMbHZz/jZ7Kmc63AkU+1HxnoUugzSWMck7dsR4DvNYX8jp9wTi9K7WvnxOIQZQ==",
"dev": true
},
"@types/node-fetch": {
@@ -4020,9 +4020,9 @@
}
},
"@types/vscode": {
- "version": "1.65.0",
- "resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.65.0.tgz",
- "integrity": "sha512-wQhExnh2nEzpjDMSKhUvnNmz3ucpd3E+R7wJkOhBNK3No6fG3VUdmVmMOKD0A8NDZDDDiQcLNxe3oGmX5SjJ5w==",
+ "version": "1.66.0",
+ "resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.66.0.tgz",
+ "integrity": "sha512-ZfJck4M7nrGasfs4A4YbUoxis3Vu24cETw3DERsNYtDZmYSYtk6ljKexKFKhImO/ZmY6ZMsmegu2FPkXoUFImA==",
"dev": true
},
"@typescript-eslint/eslint-plugin": {
@@ -6010,9 +6010,9 @@
"dev": true
},
"semver": {
- "version": "7.3.5",
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz",
- "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==",
+ "version": "7.3.8",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz",
+ "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==",
"requires": {
"lru-cache": "^6.0.0"
}
diff --git a/editors/vscode/package.json b/editors/vscode/package.json
index cf4fb6d..a04a4e3 100644
--- a/editors/vscode/package.json
+++ b/editors/vscode/package.json
@@ -1,15 +1,15 @@
{
"name": "ols",
"publisher": "DanielGavin",
- "displayName": "ols",
+ "displayName": "Odin Language",
"description": "Odin language support",
"repository": {
"type": "git",
"url": "git://github.com/DanielGavin/ols.git"
},
- "version": "0.1.6",
+ "version": "0.1.14",
"engines": {
- "vscode": "^1.65.0"
+ "vscode": "^1.66.0"
},
"categories": [
"Programming Languages"
@@ -17,6 +17,7 @@
"activationEvents": [
"onLanguage:odin"
],
+ "icon": "images/emblem.png",
"main": "./out/extension.js",
"contributes": {
"commands": [
@@ -89,7 +90,10 @@
"languages": [
{
"id": "odin",
- "aliases": ["odin", "Odin"],
+ "aliases": [
+ "odin",
+ "Odin"
+ ],
"icon": {
"light": "./fileicons/odin-file.svg",
"dark": "./fileicons/odin-file.svg"
@@ -106,30 +110,10 @@
"scopeName": "source.odin",
"path": "./syntaxes/odin.tmLanguage.json"
}
- ],
- "breakpoints": [
- {
- "language": "odin"
- }
],
- "colors": [
- {
- "id": "odin.inlayHints.foreground",
- "description": "Foreground color of inlay hints",
- "defaults": {
- "dark": "#A0A0A0F0",
- "light": "#747474",
- "highContrast": "#BEBEBE"
- }
- },
+ "breakpoints": [
{
- "id": "odin.inlayHints.background",
- "description": "Background color of inlay hints",
- "defaults": {
- "dark": "#11223300",
- "light": "#11223300",
- "highContrast": "#11223300"
- }
+ "language": "odin"
}
]
},
@@ -145,9 +129,9 @@
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.0",
- "@types/node": "^14.18.12",
+ "@types/node": "~16.11.7",
+ "@types/vscode": "~1.66.0",
"@types/node-fetch": "^2.6.1",
- "@types/vscode": "^1.65.0",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"eslint": "^7.32.0",
@@ -155,7 +139,7 @@
"mocha": "^8.4.0",
"typescript": "^4.6.2",
"vscode-test": "^1.6.1",
- "vsce": "^2.7.0"
+ "vsce": "^2.9.2"
},
"dependencies": {
"adm-zip": "^0.5.9",
@@ -168,4 +152,4 @@
"editor.semanticHighlighting.enabled": true
}
}
-}
+} \ No newline at end of file
diff --git a/editors/vscode/tsconfig.json b/editors/vscode/tsconfig.json
index 2fa4935..4f9bd7c 100644
--- a/editors/vscode/tsconfig.json
+++ b/editors/vscode/tsconfig.json
@@ -9,7 +9,7 @@
"sourceMap": true,
"rootDir": "src",
"useUnknownInCatchVariables": false,
- "strict": true /* enable all strict type-checking options */
+ "strict": false /* enable all strict type-checking options */
/* Additional Checks */
// "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
// "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
@@ -19,4 +19,4 @@
"node_modules",
".vscode-test"
]
-}
+} \ No newline at end of file