typespec-vscode 0.57.0-dev.0 → 0.57.0-dev.1
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/dist/src/extension.cjs
CHANGED
|
@@ -21778,7 +21778,11 @@ var api = {};
|
|
|
21778
21778
|
var node = main$3;
|
|
21779
21779
|
|
|
21780
21780
|
let client;
|
|
21781
|
+
const outputChannel = require$$0$1.window.createOutputChannel("TypeSpec");
|
|
21781
21782
|
async function activate(context) {
|
|
21783
|
+
context.subscriptions.push(require$$0$1.commands.registerCommand("typespec.showOutputChannel", () => {
|
|
21784
|
+
outputChannel.show(true /*preserveFocus*/);
|
|
21785
|
+
}));
|
|
21782
21786
|
context.subscriptions.push(require$$0$1.commands.registerCommand("typespec.restartServer", restartTypeSpecServer));
|
|
21783
21787
|
return await require$$0$1.window.withProgress({
|
|
21784
21788
|
title: "Launching TypeSpec language service...",
|
|
@@ -21809,6 +21813,7 @@ async function launchLanguageClient(context) {
|
|
|
21809
21813
|
{ scheme: "file", language: "typespec" },
|
|
21810
21814
|
{ scheme: "untitled", language: "typespec" },
|
|
21811
21815
|
],
|
|
21816
|
+
outputChannel,
|
|
21812
21817
|
};
|
|
21813
21818
|
const name = "TypeSpec";
|
|
21814
21819
|
const id = "typespecLanguageServer";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "typespec-vscode",
|
|
3
|
-
"version": "0.57.0-dev.
|
|
3
|
+
"version": "0.57.0-dev.1",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "TypeSpec language support for VS Code",
|
|
6
6
|
"homepage": "https://typespec.io",
|
|
@@ -93,6 +93,11 @@
|
|
|
93
93
|
"command": "typespec.restartServer",
|
|
94
94
|
"title": "Restart TypeSpec server",
|
|
95
95
|
"category": "TypeSpec"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"command": "typespec.showOutputChannel",
|
|
99
|
+
"title": "Show Output Channel",
|
|
100
|
+
"category": "TypeSpec"
|
|
96
101
|
}
|
|
97
102
|
],
|
|
98
103
|
"semanticTokenScopes": [
|
|
Binary file
|