@volar/vscode 1.6.6 → 1.6.8
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.
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as vscode from 'vscode';
|
|
2
|
-
import { BaseLanguageClient } from 'vscode-languageclient';
|
|
2
|
+
import type { BaseLanguageClient } from 'vscode-languageclient';
|
|
3
3
|
export declare function activate(context: vscode.ExtensionContext, client: BaseLanguageClient, cdn: string | undefined): Promise<vscode.Disposable>;
|
|
@@ -2,13 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.activate = void 0;
|
|
4
4
|
const vscode = require("vscode");
|
|
5
|
-
const vscode_languageclient_1 = require("vscode-languageclient");
|
|
6
5
|
const language_server_1 = require("@volar/language-server");
|
|
7
6
|
async function activate(context, client, cdn) {
|
|
8
7
|
const subscriptions = [];
|
|
9
8
|
addHandle();
|
|
10
9
|
subscriptions.push(client.onDidChangeState(() => {
|
|
11
|
-
if (client.state ===
|
|
10
|
+
if (client.state === 2) {
|
|
12
11
|
addHandle();
|
|
13
12
|
}
|
|
14
13
|
}));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as path from 'typesafe-path';
|
|
2
2
|
import * as vscode from 'vscode';
|
|
3
|
-
import { BaseLanguageClient } from 'vscode-languageclient';
|
|
3
|
+
import type { BaseLanguageClient } from 'vscode-languageclient';
|
|
4
4
|
export declare function activate(cmd: string, context: vscode.ExtensionContext, client: BaseLanguageClient, shouldStatusBarShow: (document: vscode.TextDocument) => boolean, resolveStatusText: (text: string) => string, disableTakeOverMode: boolean, cdn?: string): Promise<vscode.Disposable>;
|
|
5
5
|
export declare function getTsdk(context: vscode.ExtensionContext): Promise<{
|
|
6
6
|
tsdk: string | path.PosixPath;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as vscode from 'vscode';
|
|
2
|
-
import { BaseLanguageClient } from 'vscode-languageclient';
|
|
2
|
+
import type { BaseLanguageClient } from 'vscode-languageclient';
|
|
3
3
|
export declare function activate(cmd: string, client: BaseLanguageClient, shouldStatusBarShow: (document: vscode.TextDocument) => boolean): Promise<void>;
|
package/out/index.d.ts
CHANGED
|
@@ -8,14 +8,14 @@ export { activate as activateTsConfigStatusItem } from './features/tsconfig';
|
|
|
8
8
|
export { activate as activateServerSys } from './features/serverSys';
|
|
9
9
|
export { activate as activateTsVersionStatusItem, getTsdk } from './features/tsVersion';
|
|
10
10
|
export declare function takeOverModeActive(context: vscode.ExtensionContext): boolean;
|
|
11
|
-
import
|
|
12
|
-
export declare const middleware:
|
|
11
|
+
import type { BaseLanguageClient, Middleware } from 'vscode-languageclient';
|
|
12
|
+
export declare const middleware: Middleware;
|
|
13
13
|
export declare function parseServerCommand(command: vscode.Command): vscode.Command;
|
|
14
14
|
export declare const supportLabsVersion: "1.6.2";
|
|
15
15
|
export interface ExportsInfoForLabs {
|
|
16
16
|
volarLabs: {
|
|
17
17
|
version: typeof supportLabsVersion;
|
|
18
|
-
languageClients:
|
|
18
|
+
languageClients: BaseLanguageClient[];
|
|
19
19
|
languageServerProtocol: typeof import('@volar/language-server/protocol');
|
|
20
20
|
codegenStackSupport?: boolean;
|
|
21
21
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volar/vscode",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.8",
|
|
4
4
|
"main": "out/index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -13,8 +13,7 @@
|
|
|
13
13
|
"directory": "packages/vscode"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@volar/language-server": "1.6.
|
|
17
|
-
"@volar/source-map": "1.6.6",
|
|
16
|
+
"@volar/language-server": "1.6.8",
|
|
18
17
|
"typesafe-path": "^0.2.2",
|
|
19
18
|
"vscode-nls": "^5.2.0"
|
|
20
19
|
},
|
|
@@ -22,9 +21,5 @@
|
|
|
22
21
|
"@types/vscode": "latest",
|
|
23
22
|
"vscode-languageclient": "latest"
|
|
24
23
|
},
|
|
25
|
-
"
|
|
26
|
-
"@types/vscode": "*",
|
|
27
|
-
"vscode-languageclient": "*"
|
|
28
|
-
},
|
|
29
|
-
"gitHead": "7d4814e11d9646df4a197866107db5b6c335f964"
|
|
24
|
+
"gitHead": "3d269c7e69850ac5497469bede13f057db8a4980"
|
|
30
25
|
}
|