Browse Source

update deps

Adam Walker 1 month ago
parent
commit
4c138ffb87
3 changed files with 28 additions and 10 deletions
  1. 1 1
      .vscode/tasks.json
  2. 26 8
      package.json
  3. 1 1
      src/extension.ts

+ 1 - 1
.vscode/tasks.json

@@ -8,7 +8,7 @@
8 8
 
9 9
 // A task runner that calls a custom npm script that compiles the extension.
10 10
 {
11
-    "version": "0.1.0",
11
+    "version": "2.0.0",
12 12
 
13 13
     // we want to run npm
14 14
     "command": "npm",

+ 26 - 8
package.json

@@ -14,10 +14,10 @@
14 14
         "url": "https://git.vhdltool.com/vhdl-tool/vhdl-tool/issues"
15 15
     },
16 16
     "engines": {
17
-        "vscode": "^1.8.0"
17
+        "vscode": "^1.26.0"
18 18
     },
19 19
     "categories": [
20
-        "Languages",
20
+        "Programming Languages",
21 21
         "Linters"
22 22
     ],
23 23
     "activationEvents": [
@@ -30,13 +30,31 @@
30 30
         "postinstall": "node ./node_modules/vscode/bin/install"
31 31
     },
32 32
     "dependencies": {
33
-        "vscode-languageclient": "^2.6.2"
33
+        "vscode-languageclient": "^4.1.4"
34 34
     },
35 35
     "devDependencies": {
36
-        "typescript": "^2.0.3",
37
-        "vscode": "^1.0.3",
38
-        "mocha": "^2.3.3",
39
-        "@types/mocha": "^2.2.32",
40
-        "@types/node": "^6.0.40"
36
+        "typescript": "^3.5.1",
37
+        "vscode": "^1.1.34",
38
+        "@types/mocha": "^5.2.0",
39
+        "@types/node": "^8.0.0"
40
+    },
41
+    "contributes": {
42
+        "configuration": {
43
+            "type": "object",
44
+            "title": "VHDL-Tool",
45
+            "properties": {
46
+                "vhdltool.trace.server": {
47
+                    "scope": "window",
48
+                    "type": "string",
49
+                    "enum": [
50
+                        "off",
51
+                        "messages",
52
+                        "verbose"
53
+                    ],
54
+                    "default": "off",
55
+                    "description": "Traces the communication between VS Code and the language server."
56
+                }
57
+            }
58
+        }
41 59
     }
42 60
 }

+ 1 - 1
src/extension.ts

@@ -22,7 +22,7 @@ export function activate(context: ExtensionContext) {
22 22
 	}
23 23
 	
24 24
 	// Create the language client and start the client.
25
-	let disposable = new LanguageClient('Language Server VHDL', serverOptions, clientOptions).start();
25
+	let disposable = new LanguageClient('vhdltool', 'Language Server VHDL', serverOptions, clientOptions).start();
26 26
 	
27 27
 	// Push the disposable to the context's subscriptions so that the client can be deactivated on extension deactivation
28 28
 	context.subscriptions.push(disposable);