|
1 | 1 | {
|
2 |
| - "name": "vscode-noir", |
3 |
| - "displayName": "Noir Language Support", |
4 |
| - "description": "Noir support for Visual Studio Code", |
5 |
| - "version": "0.0.3", |
6 |
| - "publisher": "noir-lang", |
7 |
| - "keywords": [ |
8 |
| - "noir", |
9 |
| - "noir-lang" |
| 2 | + "name": "vscode-noir", |
| 3 | + "displayName": "Noir Language Support", |
| 4 | + "description": "Noir support for Visual Studio Code", |
| 5 | + "version": "0.0.3", |
| 6 | + "publisher": "noir-lang", |
| 7 | + "keywords": [ |
| 8 | + "noir", |
| 9 | + "noir-lang" |
| 10 | + ], |
| 11 | + "icon": "noir.png", |
| 12 | + "engines": { |
| 13 | + "vscode": "^1.67.0" |
| 14 | + }, |
| 15 | + "license": "Apache-2.0", |
| 16 | + "repository": { |
| 17 | + "type": "git", |
| 18 | + "url": "https://github.com/noir-lang/vscode-noir" |
| 19 | + }, |
| 20 | + "bugs": { |
| 21 | + "url": "https://github.com/noir-lang/vscode-noir/issues" |
| 22 | + }, |
| 23 | + "categories": [ |
| 24 | + "Programming Languages" |
| 25 | + ], |
| 26 | + "activationEvents": [ |
| 27 | + "onLanguage:noir" |
| 28 | + ], |
| 29 | + "main": "./out/extension", |
| 30 | + "contributes": { |
| 31 | + "commands": [ |
| 32 | + { |
| 33 | + "command": "noir.restart", |
| 34 | + "title": "Noir: Restart Language Server" |
| 35 | + } |
10 | 36 | ],
|
11 |
| - "icon": "noir.png", |
12 |
| - "engines": { |
13 |
| - "vscode": "^1.67.0" |
14 |
| - }, |
15 |
| - "license": "Apache-2.0", |
16 |
| - "repository": { |
17 |
| - "type": "git", |
18 |
| - "url": "https://github.com/noir-lang/vscode-noir" |
19 |
| - }, |
20 |
| - "bugs": { |
21 |
| - "url": "https://github.com/noir-lang/vscode-noir/issues" |
22 |
| - }, |
23 |
| - "categories": [ |
24 |
| - "Programming Languages" |
| 37 | + "snippets": [ |
| 38 | + { |
| 39 | + "language": "noir", |
| 40 | + "path": "./snippets/snippets.json" |
| 41 | + } |
25 | 42 | ],
|
26 |
| - "activationEvents": [ |
27 |
| - "onLanguage:noir" |
28 |
| - ], |
29 |
| - "main": "./out/extension", |
30 |
| - "contributes": { |
31 |
| - "commands": [ |
32 |
| - { |
33 |
| - "command": "noir.restart", |
34 |
| - "title": "Noir: Restart Language Server" |
35 |
| - } |
36 |
| - ], |
37 |
| - "snippets": [ |
38 |
| - { |
39 |
| - "language": "noir", |
40 |
| - "path": "./snippets/snippets.json" |
41 |
| - } |
42 |
| - ], |
43 |
| - "languages": [ |
44 |
| - { |
45 |
| - "id": "noir", |
46 |
| - "aliases": [ |
47 |
| - "Noir", |
48 |
| - "noir" |
49 |
| - ], |
50 |
| - "extensions": [ |
51 |
| - ".nr" |
52 |
| - ], |
53 |
| - "configuration": "./language-configuration.json" |
54 |
| - } |
| 43 | + "languages": [ |
| 44 | + { |
| 45 | + "id": "noir", |
| 46 | + "aliases": [ |
| 47 | + "Noir", |
| 48 | + "noir" |
55 | 49 | ],
|
56 |
| - "grammars": [ |
57 |
| - { |
58 |
| - "language": "noir", |
59 |
| - "scopeName": "source.nr", |
60 |
| - "path": "./syntaxes/noir.tmLanguage.json" |
61 |
| - } |
| 50 | + "extensions": [ |
| 51 | + ".nr" |
62 | 52 | ],
|
63 |
| - "configuration": { |
64 |
| - "type": "object", |
65 |
| - "title": "Noir Language Server configuration", |
66 |
| - "properties": { |
67 |
| - "noir.nargoFlags": { |
68 |
| - "scope": "resource", |
69 |
| - "type": "string", |
70 |
| - "description": "Space-separated list of flags to pass to the nargo CLI" |
71 |
| - }, |
72 |
| - "noir.nargoPath": { |
73 |
| - "scope": "resource", |
74 |
| - "type": "string", |
75 |
| - "description": "Absolute path to the nargo CLI (detected in PATH if not specified)" |
76 |
| - }, |
77 |
| - "noir.enableLSP": { |
78 |
| - "scope": "resource", |
79 |
| - "type": "boolean", |
80 |
| - "default": true, |
81 |
| - "description": "Enable the language server" |
82 |
| - }, |
83 |
| - "noir.trace.server": { |
84 |
| - "scope": "resource", |
85 |
| - "type": "string", |
86 |
| - "enum": [ |
87 |
| - "off", |
88 |
| - "messages", |
89 |
| - "verbose" |
90 |
| - ], |
91 |
| - "default": "off", |
92 |
| - "description": "Traces the communication between VS Code and the language server." |
93 |
| - } |
94 |
| - } |
| 53 | + "configuration": "./language-configuration.json" |
| 54 | + } |
| 55 | + ], |
| 56 | + "grammars": [ |
| 57 | + { |
| 58 | + "language": "noir", |
| 59 | + "scopeName": "source.nr", |
| 60 | + "path": "./syntaxes/noir.tmLanguage.json" |
| 61 | + } |
| 62 | + ], |
| 63 | + "configuration": { |
| 64 | + "type": "object", |
| 65 | + "title": "Noir Language Server configuration", |
| 66 | + "properties": { |
| 67 | + "noir.nargoFlags": { |
| 68 | + "scope": "resource", |
| 69 | + "type": "string", |
| 70 | + "description": "Space-separated list of flags to pass to the nargo CLI" |
| 71 | + }, |
| 72 | + "noir.nargoPath": { |
| 73 | + "scope": "resource", |
| 74 | + "type": "string", |
| 75 | + "description": "Absolute path to the nargo CLI (detected in PATH if not specified)" |
| 76 | + }, |
| 77 | + "noir.enableLSP": { |
| 78 | + "scope": "resource", |
| 79 | + "type": "boolean", |
| 80 | + "default": true, |
| 81 | + "description": "Enable the language server" |
| 82 | + }, |
| 83 | + "noir.trace.server": { |
| 84 | + "scope": "resource", |
| 85 | + "type": "string", |
| 86 | + "enum": [ |
| 87 | + "off", |
| 88 | + "messages", |
| 89 | + "verbose" |
| 90 | + ], |
| 91 | + "default": "off", |
| 92 | + "description": "Traces the communication between VS Code and the language server." |
95 | 93 | }
|
96 |
| - }, |
97 |
| - "scripts": { |
98 |
| - "vscode:prepublish": "npm run esbuild-base -- --minify", |
99 |
| - "esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node", |
100 |
| - "esbuild": "npm run esbuild-base -- --sourcemap", |
101 |
| - "esbuild-watch": "npm run esbuild-base -- --sourcemap --watch", |
102 |
| - "package": "vsce package", |
103 |
| - "test-compile": "tsc -p ./", |
104 |
| - "format": "prettier --write .", |
105 |
| - "check-format": "prettier --check .", |
106 |
| - "deploy": "vsce publish" |
107 |
| - }, |
108 |
| - "dependencies": { |
109 |
| - "vscode-languageclient": "^8.0.3", |
110 |
| - "which": "^3.0.1" |
111 |
| - }, |
112 |
| - "devDependencies": { |
113 |
| - "@types/node": "^12.12.0", |
114 |
| - "@types/vscode": "1.67.0", |
115 |
| - "@types/which": "^3.0.0", |
116 |
| - "@typescript-eslint/parser": "^5.59.9", |
117 |
| - "esbuild": "^0.17.19", |
118 |
| - "eslint": "^8.42.0", |
119 |
| - "prettier": "^2.8.8", |
120 |
| - "typescript": "^5.1.3", |
121 |
| - "vsce": "^2.15.0" |
| 94 | + } |
122 | 95 | }
|
| 96 | + }, |
| 97 | + "scripts": { |
| 98 | + "vscode:prepublish": "npm run esbuild-base -- --minify", |
| 99 | + "esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node", |
| 100 | + "esbuild": "npm run esbuild-base -- --sourcemap", |
| 101 | + "esbuild-watch": "npm run esbuild-base -- --sourcemap --watch", |
| 102 | + "package": "vsce package", |
| 103 | + "test-compile": "tsc -p ./", |
| 104 | + "format": "prettier --write .", |
| 105 | + "check-format": "prettier --check .", |
| 106 | + "deploy": "vsce publish" |
| 107 | + }, |
| 108 | + "dependencies": { |
| 109 | + "vscode-languageclient": "^8.0.3", |
| 110 | + "which": "^3.0.1" |
| 111 | + }, |
| 112 | + "devDependencies": { |
| 113 | + "@types/node": "^12.12.0", |
| 114 | + "@types/vscode": "1.67.0", |
| 115 | + "@types/which": "^3.0.0", |
| 116 | + "@typescript-eslint/parser": "^5.59.9", |
| 117 | + "esbuild": "^0.17.19", |
| 118 | + "eslint": "^8.42.0", |
| 119 | + "prettier": "^2.8.8", |
| 120 | + "typescript": "^5.1.3", |
| 121 | + "vsce": "^2.15.0" |
| 122 | + } |
123 | 123 | }
|
0 commit comments