typespec-vscode 0.53.0-dev.0 → 0.53.0-dev.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -1,12 +1,21 @@
|
|
|
1
1
|
# TypeSpec Language Support for VS Code
|
|
2
2
|
|
|
3
|
+
[Repository](https://github.com/microsoft/typespec) | [Documentation](https://typespec.io/docs) | [Issues](https://github.com/microsoft/typespec/issues) | [Samples](https://github.com/microsoft/typespec/tree/main/packages/samples/specs)
|
|
4
|
+
|
|
3
5
|
This provides provides [TypeSpec](https://github.com/microsoft/typespec) language support for VS Code.
|
|
4
6
|
|
|
5
|
-
|
|
7
|
+
## Features
|
|
6
8
|
|
|
7
|
-
|
|
9
|
+
- Live diagnostic reporting
|
|
10
|
+
- Syntax highlighting
|
|
11
|
+
- Code completion
|
|
12
|
+
- Code folding
|
|
13
|
+
- Formatting
|
|
14
|
+
- Hover info
|
|
15
|
+
- Rename refactoring
|
|
16
|
+
- Go to definition
|
|
8
17
|
|
|
9
|
-
## Configure
|
|
18
|
+
## Configure
|
|
10
19
|
|
|
11
20
|
TypeSpec wil interpolate a few variables using this pattern `${<name>}`. For example `${workspaceFolder}`.
|
|
12
21
|
|
package/dist/src/extension.cjs
CHANGED
|
@@ -21817,9 +21817,9 @@ async function launchLanguageClient(context) {
|
|
|
21817
21817
|
const workspaceFolder = (_d = (_c = (_b = (_a = require$$0$1.workspace.workspaceFolders) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.uri) === null || _c === void 0 ? void 0 : _c.fsPath) !== null && _d !== void 0 ? _d : "";
|
|
21818
21818
|
client === null || client === void 0 ? void 0 : client.error([
|
|
21819
21819
|
`TypeSpec server executable was not found: '${exe.command}' is not found. Make sure either:`,
|
|
21820
|
-
` -
|
|
21821
|
-
" -
|
|
21822
|
-
" -
|
|
21820
|
+
` - TypeSpec is installed locally at the root of this workspace ("${workspaceFolder}") or in a parent directory.`,
|
|
21821
|
+
" - TypeSpec is installed globally with `npm install -g @typespec/compiler'.",
|
|
21822
|
+
" - TypeSpec server path is configured with https://github.com/microsoft/typespec#installing-vs-code-extension.",
|
|
21823
21823
|
].join("\n"), undefined, false);
|
|
21824
21824
|
throw `TypeSpec server executable was not found: '${exe.command}' is not found.`;
|
|
21825
21825
|
}
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "typespec-vscode",
|
|
3
|
-
"version": "0.53.0-dev.
|
|
3
|
+
"version": "0.53.0-dev.2",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
|
-
"description": "TypeSpec
|
|
6
|
-
"homepage": "https://
|
|
5
|
+
"description": "TypeSpec language support for VS Code",
|
|
6
|
+
"homepage": "https://typespec.io",
|
|
7
7
|
"readme": "https://github.com/microsoft/typespec/blob/main/README.md",
|
|
8
8
|
"license": "MIT",
|
|
9
9
|
"repository": {
|
|
@@ -16,8 +16,9 @@
|
|
|
16
16
|
"keywords": [
|
|
17
17
|
"typespec"
|
|
18
18
|
],
|
|
19
|
-
"
|
|
20
|
-
"
|
|
19
|
+
"preview": true,
|
|
20
|
+
"publisher": "typespec",
|
|
21
|
+
"displayName": "TypeSpec for VS Code",
|
|
21
22
|
"categories": [
|
|
22
23
|
"Programming Languages"
|
|
23
24
|
],
|
|
@@ -34,6 +35,7 @@
|
|
|
34
35
|
"typespec-vscode-*.vsix",
|
|
35
36
|
"ThirdPartyNotices.txt"
|
|
36
37
|
],
|
|
38
|
+
"icon": "./icons/logo.png",
|
|
37
39
|
"contributes": {
|
|
38
40
|
"languages": [
|
|
39
41
|
{
|
|
@@ -45,6 +47,10 @@
|
|
|
45
47
|
"extensions": [
|
|
46
48
|
".tsp"
|
|
47
49
|
],
|
|
50
|
+
"icon": {
|
|
51
|
+
"light": "./icons/tsp-file.light.svg",
|
|
52
|
+
"dark": "./icons/tsp-file.dark.svg"
|
|
53
|
+
},
|
|
48
54
|
"configuration": "./dist/language-configuration.json"
|
|
49
55
|
},
|
|
50
56
|
{
|
|
@@ -136,6 +142,7 @@
|
|
|
136
142
|
"copy-tmlanguage": "node scripts/copy-tmlanguage.js",
|
|
137
143
|
"generate-language-configuration": "node scripts/generate-language-configuration.js",
|
|
138
144
|
"generate-third-party-notices": "typespec-build-tool generate-third-party-notices",
|
|
139
|
-
"package-vsix": "vsce package"
|
|
145
|
+
"package-vsix": "vsce package",
|
|
146
|
+
"deploy": "vsce publish"
|
|
140
147
|
}
|
|
141
148
|
}
|
|
index c5f1bd6..8a69c17 100644
|
|
|
Binary file
|