@volar/language-server 1.2.0-alpha.8 → 1.3.0-alpha.0
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/out/common/documents.js +6 -0
- package/out/common/features/customFeatures.js +9 -8
- package/out/common/features/languageFeatures.d.ts +3 -2
- package/out/common/features/languageFeatures.js +65 -44
- package/out/common/project.d.ts +8 -8
- package/out/common/project.js +3 -3
- package/out/common/server.js +1 -1
- package/out/common/utils/registerFeatures.js +9 -9
- package/out/common/workspace.d.ts +72 -72
- package/out/common/workspaces.d.ts +88 -88
- package/out/common/workspaces.js +2 -11
- package/out/protocol.d.ts +5 -3
- package/out/types.d.ts +8 -2
- package/package.json +10 -10
|
@@ -57,6 +57,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
57
57
|
};
|
|
58
58
|
languageServiceHost: import("@volar/language-core").LanguageServiceHost;
|
|
59
59
|
getLanguageService: () => {
|
|
60
|
+
triggerCharacters: string[];
|
|
60
61
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
61
62
|
ch: string;
|
|
62
63
|
position: vscode.Position;
|
|
@@ -64,7 +65,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
64
65
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
65
66
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
66
67
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
67
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
68
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
68
69
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
69
70
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
70
71
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -87,7 +88,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
87
88
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
88
89
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
89
90
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
90
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
91
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
91
92
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
92
93
|
lastChange: {
|
|
93
94
|
range: vscode.Range;
|
|
@@ -96,7 +97,6 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
96
97
|
text: string;
|
|
97
98
|
};
|
|
98
99
|
}) => Promise<NonNullable<string | vscode.TextEdit | null | undefined> | undefined>;
|
|
99
|
-
doExecuteCommand: (command: string, args: import("@volar/language-service").ExecutePluginCommandArgs, executeCommandContext: import("@volar/language-service").ExecuteCommandContext) => Promise<void>;
|
|
100
100
|
getInlayHints: (uri: string, range: vscode.Range) => Promise<vscode.InlayHint[] | undefined>;
|
|
101
101
|
callHierarchy: {
|
|
102
102
|
doPrepare(uri: string, position: vscode.Position): Promise<vscode.CallHierarchyItem[] | undefined>;
|
|
@@ -104,9 +104,10 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
104
104
|
getOutgoingCalls(item: vscode.CallHierarchyItem): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
105
105
|
};
|
|
106
106
|
dispose: () => void | undefined;
|
|
107
|
-
context: import("@volar/language-service").
|
|
107
|
+
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
108
108
|
};
|
|
109
109
|
getLanguageServiceDontCreate: () => {
|
|
110
|
+
triggerCharacters: string[];
|
|
110
111
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
111
112
|
ch: string;
|
|
112
113
|
position: vscode.Position;
|
|
@@ -114,7 +115,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
114
115
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
115
116
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
116
117
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
117
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
118
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
118
119
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
119
120
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
120
121
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -137,7 +138,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
137
138
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
138
139
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
139
140
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
140
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
141
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
141
142
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
142
143
|
lastChange: {
|
|
143
144
|
range: vscode.Range;
|
|
@@ -146,7 +147,6 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
146
147
|
text: string;
|
|
147
148
|
};
|
|
148
149
|
}) => Promise<NonNullable<string | vscode.TextEdit | null | undefined> | undefined>;
|
|
149
|
-
doExecuteCommand: (command: string, args: import("@volar/language-service").ExecutePluginCommandArgs, executeCommandContext: import("@volar/language-service").ExecuteCommandContext) => Promise<void>;
|
|
150
150
|
getInlayHints: (uri: string, range: vscode.Range) => Promise<vscode.InlayHint[] | undefined>;
|
|
151
151
|
callHierarchy: {
|
|
152
152
|
doPrepare(uri: string, position: vscode.Position): Promise<vscode.CallHierarchyItem[] | undefined>;
|
|
@@ -154,7 +154,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
154
154
|
getOutgoingCalls(item: vscode.CallHierarchyItem): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
155
155
|
};
|
|
156
156
|
dispose: () => void | undefined;
|
|
157
|
-
context: import("@volar/language-service").
|
|
157
|
+
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
158
158
|
} | undefined;
|
|
159
159
|
getParsedCommandLine: () => ts.ParsedCommandLine;
|
|
160
160
|
tryAddFile: (fileName: string) => void;
|
|
@@ -207,6 +207,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
207
207
|
};
|
|
208
208
|
languageServiceHost: import("@volar/language-core").LanguageServiceHost;
|
|
209
209
|
getLanguageService: () => {
|
|
210
|
+
triggerCharacters: string[];
|
|
210
211
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
211
212
|
ch: string;
|
|
212
213
|
position: vscode.Position;
|
|
@@ -214,7 +215,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
214
215
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
215
216
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
216
217
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
217
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
218
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
218
219
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
219
220
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
220
221
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -237,7 +238,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
237
238
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
238
239
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
239
240
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
240
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
241
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
241
242
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
242
243
|
lastChange: {
|
|
243
244
|
range: vscode.Range;
|
|
@@ -246,7 +247,6 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
246
247
|
text: string;
|
|
247
248
|
};
|
|
248
249
|
}) => Promise<NonNullable<string | vscode.TextEdit | null | undefined> | undefined>;
|
|
249
|
-
doExecuteCommand: (command: string, args: import("@volar/language-service").ExecutePluginCommandArgs, executeCommandContext: import("@volar/language-service").ExecuteCommandContext) => Promise<void>;
|
|
250
250
|
getInlayHints: (uri: string, range: vscode.Range) => Promise<vscode.InlayHint[] | undefined>;
|
|
251
251
|
callHierarchy: {
|
|
252
252
|
doPrepare(uri: string, position: vscode.Position): Promise<vscode.CallHierarchyItem[] | undefined>;
|
|
@@ -254,9 +254,10 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
254
254
|
getOutgoingCalls(item: vscode.CallHierarchyItem): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
255
255
|
};
|
|
256
256
|
dispose: () => void | undefined;
|
|
257
|
-
context: import("@volar/language-service").
|
|
257
|
+
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
258
258
|
};
|
|
259
259
|
getLanguageServiceDontCreate: () => {
|
|
260
|
+
triggerCharacters: string[];
|
|
260
261
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
261
262
|
ch: string;
|
|
262
263
|
position: vscode.Position;
|
|
@@ -264,7 +265,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
264
265
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
265
266
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
266
267
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
267
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
268
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
268
269
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
269
270
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
270
271
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -287,7 +288,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
287
288
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
288
289
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
289
290
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
290
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
291
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
291
292
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
292
293
|
lastChange: {
|
|
293
294
|
range: vscode.Range;
|
|
@@ -296,7 +297,6 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
296
297
|
text: string;
|
|
297
298
|
};
|
|
298
299
|
}) => Promise<NonNullable<string | vscode.TextEdit | null | undefined> | undefined>;
|
|
299
|
-
doExecuteCommand: (command: string, args: import("@volar/language-service").ExecutePluginCommandArgs, executeCommandContext: import("@volar/language-service").ExecuteCommandContext) => Promise<void>;
|
|
300
300
|
getInlayHints: (uri: string, range: vscode.Range) => Promise<vscode.InlayHint[] | undefined>;
|
|
301
301
|
callHierarchy: {
|
|
302
302
|
doPrepare(uri: string, position: vscode.Position): Promise<vscode.CallHierarchyItem[] | undefined>;
|
|
@@ -304,7 +304,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
304
304
|
getOutgoingCalls(item: vscode.CallHierarchyItem): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
305
305
|
};
|
|
306
306
|
dispose: () => void | undefined;
|
|
307
|
-
context: import("@volar/language-service").
|
|
307
|
+
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
308
308
|
} | undefined;
|
|
309
309
|
getParsedCommandLine: () => ts.ParsedCommandLine;
|
|
310
310
|
tryAddFile: (fileName: string) => void;
|
|
@@ -357,6 +357,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
357
357
|
};
|
|
358
358
|
languageServiceHost: import("@volar/language-core").LanguageServiceHost;
|
|
359
359
|
getLanguageService: () => {
|
|
360
|
+
triggerCharacters: string[];
|
|
360
361
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
361
362
|
ch: string;
|
|
362
363
|
position: vscode.Position;
|
|
@@ -364,7 +365,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
364
365
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
365
366
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
366
367
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
367
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
368
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
368
369
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
369
370
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
370
371
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -387,7 +388,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
387
388
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
388
389
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
389
390
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
390
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
391
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
391
392
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
392
393
|
lastChange: {
|
|
393
394
|
range: vscode.Range;
|
|
@@ -396,7 +397,6 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
396
397
|
text: string;
|
|
397
398
|
};
|
|
398
399
|
}) => Promise<NonNullable<string | vscode.TextEdit | null | undefined> | undefined>;
|
|
399
|
-
doExecuteCommand: (command: string, args: import("@volar/language-service").ExecutePluginCommandArgs, executeCommandContext: import("@volar/language-service").ExecuteCommandContext) => Promise<void>;
|
|
400
400
|
getInlayHints: (uri: string, range: vscode.Range) => Promise<vscode.InlayHint[] | undefined>;
|
|
401
401
|
callHierarchy: {
|
|
402
402
|
doPrepare(uri: string, position: vscode.Position): Promise<vscode.CallHierarchyItem[] | undefined>;
|
|
@@ -404,9 +404,10 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
404
404
|
getOutgoingCalls(item: vscode.CallHierarchyItem): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
405
405
|
};
|
|
406
406
|
dispose: () => void | undefined;
|
|
407
|
-
context: import("@volar/language-service").
|
|
407
|
+
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
408
408
|
};
|
|
409
409
|
getLanguageServiceDontCreate: () => {
|
|
410
|
+
triggerCharacters: string[];
|
|
410
411
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
411
412
|
ch: string;
|
|
412
413
|
position: vscode.Position;
|
|
@@ -414,7 +415,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
414
415
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
415
416
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
416
417
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
417
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
418
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
418
419
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
419
420
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
420
421
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -437,7 +438,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
437
438
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
438
439
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
439
440
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
440
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
441
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
441
442
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
442
443
|
lastChange: {
|
|
443
444
|
range: vscode.Range;
|
|
@@ -446,7 +447,6 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
446
447
|
text: string;
|
|
447
448
|
};
|
|
448
449
|
}) => Promise<NonNullable<string | vscode.TextEdit | null | undefined> | undefined>;
|
|
449
|
-
doExecuteCommand: (command: string, args: import("@volar/language-service").ExecutePluginCommandArgs, executeCommandContext: import("@volar/language-service").ExecuteCommandContext) => Promise<void>;
|
|
450
450
|
getInlayHints: (uri: string, range: vscode.Range) => Promise<vscode.InlayHint[] | undefined>;
|
|
451
451
|
callHierarchy: {
|
|
452
452
|
doPrepare(uri: string, position: vscode.Position): Promise<vscode.CallHierarchyItem[] | undefined>;
|
|
@@ -454,7 +454,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
454
454
|
getOutgoingCalls(item: vscode.CallHierarchyItem): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
455
455
|
};
|
|
456
456
|
dispose: () => void | undefined;
|
|
457
|
-
context: import("@volar/language-service").
|
|
457
|
+
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
458
458
|
} | undefined;
|
|
459
459
|
getParsedCommandLine: () => ts.ParsedCommandLine;
|
|
460
460
|
tryAddFile: (fileName: string) => void;
|
|
@@ -507,6 +507,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
507
507
|
};
|
|
508
508
|
languageServiceHost: import("@volar/language-core").LanguageServiceHost;
|
|
509
509
|
getLanguageService: () => {
|
|
510
|
+
triggerCharacters: string[];
|
|
510
511
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
511
512
|
ch: string;
|
|
512
513
|
position: vscode.Position;
|
|
@@ -514,7 +515,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
514
515
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
515
516
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
516
517
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
517
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
518
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
518
519
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
519
520
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
520
521
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -537,7 +538,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
537
538
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
538
539
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
539
540
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
540
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
541
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
541
542
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
542
543
|
lastChange: {
|
|
543
544
|
range: vscode.Range;
|
|
@@ -546,7 +547,6 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
546
547
|
text: string;
|
|
547
548
|
};
|
|
548
549
|
}) => Promise<NonNullable<string | vscode.TextEdit | null | undefined> | undefined>;
|
|
549
|
-
doExecuteCommand: (command: string, args: import("@volar/language-service").ExecutePluginCommandArgs, executeCommandContext: import("@volar/language-service").ExecuteCommandContext) => Promise<void>;
|
|
550
550
|
getInlayHints: (uri: string, range: vscode.Range) => Promise<vscode.InlayHint[] | undefined>;
|
|
551
551
|
callHierarchy: {
|
|
552
552
|
doPrepare(uri: string, position: vscode.Position): Promise<vscode.CallHierarchyItem[] | undefined>;
|
|
@@ -554,9 +554,10 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
554
554
|
getOutgoingCalls(item: vscode.CallHierarchyItem): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
555
555
|
};
|
|
556
556
|
dispose: () => void | undefined;
|
|
557
|
-
context: import("@volar/language-service").
|
|
557
|
+
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
558
558
|
};
|
|
559
559
|
getLanguageServiceDontCreate: () => {
|
|
560
|
+
triggerCharacters: string[];
|
|
560
561
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
561
562
|
ch: string;
|
|
562
563
|
position: vscode.Position;
|
|
@@ -564,7 +565,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
564
565
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
565
566
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
566
567
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
567
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
568
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
568
569
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
569
570
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
570
571
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -587,7 +588,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
587
588
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
588
589
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
589
590
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
590
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
591
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
591
592
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
592
593
|
lastChange: {
|
|
593
594
|
range: vscode.Range;
|
|
@@ -596,7 +597,6 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
596
597
|
text: string;
|
|
597
598
|
};
|
|
598
599
|
}) => Promise<NonNullable<string | vscode.TextEdit | null | undefined> | undefined>;
|
|
599
|
-
doExecuteCommand: (command: string, args: import("@volar/language-service").ExecutePluginCommandArgs, executeCommandContext: import("@volar/language-service").ExecuteCommandContext) => Promise<void>;
|
|
600
600
|
getInlayHints: (uri: string, range: vscode.Range) => Promise<vscode.InlayHint[] | undefined>;
|
|
601
601
|
callHierarchy: {
|
|
602
602
|
doPrepare(uri: string, position: vscode.Position): Promise<vscode.CallHierarchyItem[] | undefined>;
|
|
@@ -604,7 +604,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
604
604
|
getOutgoingCalls(item: vscode.CallHierarchyItem): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
605
605
|
};
|
|
606
606
|
dispose: () => void | undefined;
|
|
607
|
-
context: import("@volar/language-service").
|
|
607
|
+
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
608
608
|
} | undefined;
|
|
609
609
|
getParsedCommandLine: () => ts.ParsedCommandLine;
|
|
610
610
|
tryAddFile: (fileName: string) => void;
|
|
@@ -656,6 +656,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
656
656
|
};
|
|
657
657
|
languageServiceHost: import("@volar/language-core").LanguageServiceHost;
|
|
658
658
|
getLanguageService: () => {
|
|
659
|
+
triggerCharacters: string[];
|
|
659
660
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
660
661
|
ch: string;
|
|
661
662
|
position: vscode.Position;
|
|
@@ -663,7 +664,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
663
664
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
664
665
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
665
666
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
666
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
667
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
667
668
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
668
669
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
669
670
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -686,7 +687,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
686
687
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
687
688
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
688
689
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
689
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
690
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
690
691
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
691
692
|
lastChange: {
|
|
692
693
|
range: vscode.Range;
|
|
@@ -695,7 +696,6 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
695
696
|
text: string;
|
|
696
697
|
};
|
|
697
698
|
}) => Promise<NonNullable<string | vscode.TextEdit | null | undefined> | undefined>;
|
|
698
|
-
doExecuteCommand: (command: string, args: import("@volar/language-service").ExecutePluginCommandArgs, executeCommandContext: import("@volar/language-service").ExecuteCommandContext) => Promise<void>;
|
|
699
699
|
getInlayHints: (uri: string, range: vscode.Range) => Promise<vscode.InlayHint[] | undefined>;
|
|
700
700
|
callHierarchy: {
|
|
701
701
|
doPrepare(uri: string, position: vscode.Position): Promise<vscode.CallHierarchyItem[] | undefined>;
|
|
@@ -703,9 +703,10 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
703
703
|
getOutgoingCalls(item: vscode.CallHierarchyItem): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
704
704
|
};
|
|
705
705
|
dispose: () => void | undefined;
|
|
706
|
-
context: import("@volar/language-service").
|
|
706
|
+
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
707
707
|
};
|
|
708
708
|
getLanguageServiceDontCreate: () => {
|
|
709
|
+
triggerCharacters: string[];
|
|
709
710
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
710
711
|
ch: string;
|
|
711
712
|
position: vscode.Position;
|
|
@@ -713,7 +714,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
713
714
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
714
715
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
715
716
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
716
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
717
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
717
718
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
718
719
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
719
720
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -736,7 +737,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
736
737
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
737
738
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
738
739
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
739
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
740
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
740
741
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
741
742
|
lastChange: {
|
|
742
743
|
range: vscode.Range;
|
|
@@ -745,7 +746,6 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
745
746
|
text: string;
|
|
746
747
|
};
|
|
747
748
|
}) => Promise<NonNullable<string | vscode.TextEdit | null | undefined> | undefined>;
|
|
748
|
-
doExecuteCommand: (command: string, args: import("@volar/language-service").ExecutePluginCommandArgs, executeCommandContext: import("@volar/language-service").ExecuteCommandContext) => Promise<void>;
|
|
749
749
|
getInlayHints: (uri: string, range: vscode.Range) => Promise<vscode.InlayHint[] | undefined>;
|
|
750
750
|
callHierarchy: {
|
|
751
751
|
doPrepare(uri: string, position: vscode.Position): Promise<vscode.CallHierarchyItem[] | undefined>;
|
|
@@ -753,7 +753,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
753
753
|
getOutgoingCalls(item: vscode.CallHierarchyItem): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
754
754
|
};
|
|
755
755
|
dispose: () => void | undefined;
|
|
756
|
-
context: import("@volar/language-service").
|
|
756
|
+
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
757
757
|
} | undefined;
|
|
758
758
|
getParsedCommandLine: () => ts.ParsedCommandLine;
|
|
759
759
|
tryAddFile: (fileName: string) => void;
|
|
@@ -805,6 +805,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
805
805
|
};
|
|
806
806
|
languageServiceHost: import("@volar/language-core").LanguageServiceHost;
|
|
807
807
|
getLanguageService: () => {
|
|
808
|
+
triggerCharacters: string[];
|
|
808
809
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
809
810
|
ch: string;
|
|
810
811
|
position: vscode.Position;
|
|
@@ -812,7 +813,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
812
813
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
813
814
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
814
815
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
815
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
816
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
816
817
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
817
818
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
818
819
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -835,7 +836,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
835
836
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
836
837
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
837
838
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
838
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
839
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
839
840
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
840
841
|
lastChange: {
|
|
841
842
|
range: vscode.Range;
|
|
@@ -844,7 +845,6 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
844
845
|
text: string;
|
|
845
846
|
};
|
|
846
847
|
}) => Promise<NonNullable<string | vscode.TextEdit | null | undefined> | undefined>;
|
|
847
|
-
doExecuteCommand: (command: string, args: import("@volar/language-service").ExecutePluginCommandArgs, executeCommandContext: import("@volar/language-service").ExecuteCommandContext) => Promise<void>;
|
|
848
848
|
getInlayHints: (uri: string, range: vscode.Range) => Promise<vscode.InlayHint[] | undefined>;
|
|
849
849
|
callHierarchy: {
|
|
850
850
|
doPrepare(uri: string, position: vscode.Position): Promise<vscode.CallHierarchyItem[] | undefined>;
|
|
@@ -852,9 +852,10 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
852
852
|
getOutgoingCalls(item: vscode.CallHierarchyItem): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
853
853
|
};
|
|
854
854
|
dispose: () => void | undefined;
|
|
855
|
-
context: import("@volar/language-service").
|
|
855
|
+
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
856
856
|
};
|
|
857
857
|
getLanguageServiceDontCreate: () => {
|
|
858
|
+
triggerCharacters: string[];
|
|
858
859
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
859
860
|
ch: string;
|
|
860
861
|
position: vscode.Position;
|
|
@@ -862,7 +863,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
862
863
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
863
864
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
864
865
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
865
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
866
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
866
867
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
867
868
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
868
869
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -885,7 +886,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
885
886
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
886
887
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
887
888
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
888
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
889
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
889
890
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
890
891
|
lastChange: {
|
|
891
892
|
range: vscode.Range;
|
|
@@ -894,7 +895,6 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
894
895
|
text: string;
|
|
895
896
|
};
|
|
896
897
|
}) => Promise<NonNullable<string | vscode.TextEdit | null | undefined> | undefined>;
|
|
897
|
-
doExecuteCommand: (command: string, args: import("@volar/language-service").ExecutePluginCommandArgs, executeCommandContext: import("@volar/language-service").ExecuteCommandContext) => Promise<void>;
|
|
898
898
|
getInlayHints: (uri: string, range: vscode.Range) => Promise<vscode.InlayHint[] | undefined>;
|
|
899
899
|
callHierarchy: {
|
|
900
900
|
doPrepare(uri: string, position: vscode.Position): Promise<vscode.CallHierarchyItem[] | undefined>;
|
|
@@ -902,7 +902,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
902
902
|
getOutgoingCalls(item: vscode.CallHierarchyItem): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
903
903
|
};
|
|
904
904
|
dispose: () => void | undefined;
|
|
905
|
-
context: import("@volar/language-service").
|
|
905
|
+
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
906
906
|
} | undefined;
|
|
907
907
|
getParsedCommandLine: () => ts.ParsedCommandLine;
|
|
908
908
|
tryAddFile: (fileName: string) => void;
|
|
@@ -958,6 +958,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
958
958
|
};
|
|
959
959
|
languageServiceHost: import("@volar/language-core").LanguageServiceHost;
|
|
960
960
|
getLanguageService: () => {
|
|
961
|
+
triggerCharacters: string[];
|
|
961
962
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
962
963
|
ch: string;
|
|
963
964
|
position: vscode.Position;
|
|
@@ -965,7 +966,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
965
966
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
966
967
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
967
968
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
968
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
969
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
969
970
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
970
971
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
971
972
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -988,7 +989,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
988
989
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
989
990
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
990
991
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
991
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
992
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
992
993
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
993
994
|
lastChange: {
|
|
994
995
|
range: vscode.Range;
|
|
@@ -997,7 +998,6 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
997
998
|
text: string;
|
|
998
999
|
};
|
|
999
1000
|
}) => Promise<NonNullable<string | vscode.TextEdit | null | undefined> | undefined>;
|
|
1000
|
-
doExecuteCommand: (command: string, args: import("@volar/language-service").ExecutePluginCommandArgs, executeCommandContext: import("@volar/language-service").ExecuteCommandContext) => Promise<void>;
|
|
1001
1001
|
getInlayHints: (uri: string, range: vscode.Range) => Promise<vscode.InlayHint[] | undefined>;
|
|
1002
1002
|
callHierarchy: {
|
|
1003
1003
|
doPrepare(uri: string, position: vscode.Position): Promise<vscode.CallHierarchyItem[] | undefined>;
|
|
@@ -1005,9 +1005,10 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
1005
1005
|
getOutgoingCalls(item: vscode.CallHierarchyItem): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
1006
1006
|
};
|
|
1007
1007
|
dispose: () => void | undefined;
|
|
1008
|
-
context: import("@volar/language-service").
|
|
1008
|
+
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
1009
1009
|
};
|
|
1010
1010
|
getLanguageServiceDontCreate: () => {
|
|
1011
|
+
triggerCharacters: string[];
|
|
1011
1012
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
1012
1013
|
ch: string;
|
|
1013
1014
|
position: vscode.Position;
|
|
@@ -1015,7 +1016,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
1015
1016
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
1016
1017
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
1017
1018
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
1018
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
1019
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
1019
1020
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
1020
1021
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
1021
1022
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -1038,7 +1039,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
1038
1039
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
1039
1040
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
1040
1041
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
1041
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
1042
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
1042
1043
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
1043
1044
|
lastChange: {
|
|
1044
1045
|
range: vscode.Range;
|
|
@@ -1047,7 +1048,6 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
1047
1048
|
text: string;
|
|
1048
1049
|
};
|
|
1049
1050
|
}) => Promise<NonNullable<string | vscode.TextEdit | null | undefined> | undefined>;
|
|
1050
|
-
doExecuteCommand: (command: string, args: import("@volar/language-service").ExecutePluginCommandArgs, executeCommandContext: import("@volar/language-service").ExecuteCommandContext) => Promise<void>;
|
|
1051
1051
|
getInlayHints: (uri: string, range: vscode.Range) => Promise<vscode.InlayHint[] | undefined>;
|
|
1052
1052
|
callHierarchy: {
|
|
1053
1053
|
doPrepare(uri: string, position: vscode.Position): Promise<vscode.CallHierarchyItem[] | undefined>;
|
|
@@ -1055,7 +1055,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
1055
1055
|
getOutgoingCalls(item: vscode.CallHierarchyItem): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
1056
1056
|
};
|
|
1057
1057
|
dispose: () => void | undefined;
|
|
1058
|
-
context: import("@volar/language-service").
|
|
1058
|
+
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
1059
1059
|
} | undefined;
|
|
1060
1060
|
getParsedCommandLine: () => ts.ParsedCommandLine;
|
|
1061
1061
|
tryAddFile: (fileName: string) => void;
|
|
@@ -1108,6 +1108,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
1108
1108
|
};
|
|
1109
1109
|
languageServiceHost: import("@volar/language-core").LanguageServiceHost;
|
|
1110
1110
|
getLanguageService: () => {
|
|
1111
|
+
triggerCharacters: string[];
|
|
1111
1112
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
1112
1113
|
ch: string;
|
|
1113
1114
|
position: vscode.Position;
|
|
@@ -1115,7 +1116,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
1115
1116
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
1116
1117
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
1117
1118
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
1118
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
1119
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
1119
1120
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
1120
1121
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
1121
1122
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -1138,7 +1139,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
1138
1139
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
1139
1140
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
1140
1141
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
1141
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
1142
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
1142
1143
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
1143
1144
|
lastChange: {
|
|
1144
1145
|
range: vscode.Range;
|
|
@@ -1147,7 +1148,6 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
1147
1148
|
text: string;
|
|
1148
1149
|
};
|
|
1149
1150
|
}) => Promise<NonNullable<string | vscode.TextEdit | null | undefined> | undefined>;
|
|
1150
|
-
doExecuteCommand: (command: string, args: import("@volar/language-service").ExecutePluginCommandArgs, executeCommandContext: import("@volar/language-service").ExecuteCommandContext) => Promise<void>;
|
|
1151
1151
|
getInlayHints: (uri: string, range: vscode.Range) => Promise<vscode.InlayHint[] | undefined>;
|
|
1152
1152
|
callHierarchy: {
|
|
1153
1153
|
doPrepare(uri: string, position: vscode.Position): Promise<vscode.CallHierarchyItem[] | undefined>;
|
|
@@ -1155,9 +1155,10 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
1155
1155
|
getOutgoingCalls(item: vscode.CallHierarchyItem): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
1156
1156
|
};
|
|
1157
1157
|
dispose: () => void | undefined;
|
|
1158
|
-
context: import("@volar/language-service").
|
|
1158
|
+
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
1159
1159
|
};
|
|
1160
1160
|
getLanguageServiceDontCreate: () => {
|
|
1161
|
+
triggerCharacters: string[];
|
|
1161
1162
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
1162
1163
|
ch: string;
|
|
1163
1164
|
position: vscode.Position;
|
|
@@ -1165,7 +1166,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
1165
1166
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
1166
1167
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
1167
1168
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
1168
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
1169
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
1169
1170
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
1170
1171
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
1171
1172
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -1188,7 +1189,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
1188
1189
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
1189
1190
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
1190
1191
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
1191
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
1192
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
1192
1193
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
1193
1194
|
lastChange: {
|
|
1194
1195
|
range: vscode.Range;
|
|
@@ -1197,7 +1198,6 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
1197
1198
|
text: string;
|
|
1198
1199
|
};
|
|
1199
1200
|
}) => Promise<NonNullable<string | vscode.TextEdit | null | undefined> | undefined>;
|
|
1200
|
-
doExecuteCommand: (command: string, args: import("@volar/language-service").ExecutePluginCommandArgs, executeCommandContext: import("@volar/language-service").ExecuteCommandContext) => Promise<void>;
|
|
1201
1201
|
getInlayHints: (uri: string, range: vscode.Range) => Promise<vscode.InlayHint[] | undefined>;
|
|
1202
1202
|
callHierarchy: {
|
|
1203
1203
|
doPrepare(uri: string, position: vscode.Position): Promise<vscode.CallHierarchyItem[] | undefined>;
|
|
@@ -1205,7 +1205,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
1205
1205
|
getOutgoingCalls(item: vscode.CallHierarchyItem): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
1206
1206
|
};
|
|
1207
1207
|
dispose: () => void | undefined;
|
|
1208
|
-
context: import("@volar/language-service").
|
|
1208
|
+
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
1209
1209
|
} | undefined;
|
|
1210
1210
|
getParsedCommandLine: () => ts.ParsedCommandLine;
|
|
1211
1211
|
tryAddFile: (fileName: string) => void;
|
|
@@ -1257,6 +1257,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
1257
1257
|
};
|
|
1258
1258
|
languageServiceHost: import("@volar/language-core").LanguageServiceHost;
|
|
1259
1259
|
getLanguageService: () => {
|
|
1260
|
+
triggerCharacters: string[];
|
|
1260
1261
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
1261
1262
|
ch: string;
|
|
1262
1263
|
position: vscode.Position;
|
|
@@ -1264,7 +1265,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
1264
1265
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
1265
1266
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
1266
1267
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
1267
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
1268
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
1268
1269
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
1269
1270
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
1270
1271
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -1287,7 +1288,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
1287
1288
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
1288
1289
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
1289
1290
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
1290
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
1291
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
1291
1292
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
1292
1293
|
lastChange: {
|
|
1293
1294
|
range: vscode.Range;
|
|
@@ -1296,7 +1297,6 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
1296
1297
|
text: string;
|
|
1297
1298
|
};
|
|
1298
1299
|
}) => Promise<NonNullable<string | vscode.TextEdit | null | undefined> | undefined>;
|
|
1299
|
-
doExecuteCommand: (command: string, args: import("@volar/language-service").ExecutePluginCommandArgs, executeCommandContext: import("@volar/language-service").ExecuteCommandContext) => Promise<void>;
|
|
1300
1300
|
getInlayHints: (uri: string, range: vscode.Range) => Promise<vscode.InlayHint[] | undefined>;
|
|
1301
1301
|
callHierarchy: {
|
|
1302
1302
|
doPrepare(uri: string, position: vscode.Position): Promise<vscode.CallHierarchyItem[] | undefined>;
|
|
@@ -1304,9 +1304,10 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
1304
1304
|
getOutgoingCalls(item: vscode.CallHierarchyItem): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
1305
1305
|
};
|
|
1306
1306
|
dispose: () => void | undefined;
|
|
1307
|
-
context: import("@volar/language-service").
|
|
1307
|
+
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
1308
1308
|
};
|
|
1309
1309
|
getLanguageServiceDontCreate: () => {
|
|
1310
|
+
triggerCharacters: string[];
|
|
1310
1311
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
1311
1312
|
ch: string;
|
|
1312
1313
|
position: vscode.Position;
|
|
@@ -1314,7 +1315,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
1314
1315
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
1315
1316
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
1316
1317
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
1317
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
1318
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
1318
1319
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
1319
1320
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
1320
1321
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -1337,7 +1338,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
1337
1338
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
1338
1339
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
1339
1340
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
1340
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
1341
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
1341
1342
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
1342
1343
|
lastChange: {
|
|
1343
1344
|
range: vscode.Range;
|
|
@@ -1346,7 +1347,6 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
1346
1347
|
text: string;
|
|
1347
1348
|
};
|
|
1348
1349
|
}) => Promise<NonNullable<string | vscode.TextEdit | null | undefined> | undefined>;
|
|
1349
|
-
doExecuteCommand: (command: string, args: import("@volar/language-service").ExecutePluginCommandArgs, executeCommandContext: import("@volar/language-service").ExecuteCommandContext) => Promise<void>;
|
|
1350
1350
|
getInlayHints: (uri: string, range: vscode.Range) => Promise<vscode.InlayHint[] | undefined>;
|
|
1351
1351
|
callHierarchy: {
|
|
1352
1352
|
doPrepare(uri: string, position: vscode.Position): Promise<vscode.CallHierarchyItem[] | undefined>;
|
|
@@ -1354,7 +1354,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
1354
1354
|
getOutgoingCalls(item: vscode.CallHierarchyItem): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
1355
1355
|
};
|
|
1356
1356
|
dispose: () => void | undefined;
|
|
1357
|
-
context: import("@volar/language-service").
|
|
1357
|
+
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
1358
1358
|
} | undefined;
|
|
1359
1359
|
getParsedCommandLine: () => ts.ParsedCommandLine;
|
|
1360
1360
|
tryAddFile: (fileName: string) => void;
|