@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
|
@@ -71,6 +71,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
71
71
|
};
|
|
72
72
|
languageServiceHost: import("@volar/language-service").LanguageServiceHost;
|
|
73
73
|
getLanguageService: () => {
|
|
74
|
+
triggerCharacters: string[];
|
|
74
75
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
75
76
|
ch: string;
|
|
76
77
|
position: vscode.Position;
|
|
@@ -78,7 +79,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
78
79
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
79
80
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
80
81
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
81
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
82
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
82
83
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
83
84
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
84
85
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -101,7 +102,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
101
102
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
102
103
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
103
104
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
104
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
105
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
105
106
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
106
107
|
lastChange: {
|
|
107
108
|
range: vscode.Range;
|
|
@@ -110,7 +111,6 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
110
111
|
text: string;
|
|
111
112
|
};
|
|
112
113
|
}) => Promise<NonNullable<string | vscode.TextEdit | null | undefined> | undefined>;
|
|
113
|
-
doExecuteCommand: (command: string, args: import("@volar/language-service").ExecutePluginCommandArgs, executeCommandContext: import("@volar/language-service").ExecuteCommandContext) => Promise<void>;
|
|
114
114
|
getInlayHints: (uri: string, range: vscode.Range) => Promise<vscode.InlayHint[] | undefined>;
|
|
115
115
|
callHierarchy: {
|
|
116
116
|
doPrepare(uri: string, position: vscode.Position): Promise<vscode.CallHierarchyItem[] | undefined>;
|
|
@@ -118,9 +118,10 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
118
118
|
getOutgoingCalls(item: vscode.CallHierarchyItem): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
119
119
|
};
|
|
120
120
|
dispose: () => void | undefined;
|
|
121
|
-
context: import("@volar/language-service").
|
|
121
|
+
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
122
122
|
};
|
|
123
123
|
getLanguageServiceDontCreate: () => {
|
|
124
|
+
triggerCharacters: string[];
|
|
124
125
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
125
126
|
ch: string;
|
|
126
127
|
position: vscode.Position;
|
|
@@ -128,7 +129,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
128
129
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
129
130
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
130
131
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
131
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
132
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
132
133
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
133
134
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
134
135
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -151,7 +152,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
151
152
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
152
153
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
153
154
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
154
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
155
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
155
156
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
156
157
|
lastChange: {
|
|
157
158
|
range: vscode.Range;
|
|
@@ -160,7 +161,6 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
160
161
|
text: string;
|
|
161
162
|
};
|
|
162
163
|
}) => Promise<NonNullable<string | vscode.TextEdit | null | undefined> | undefined>;
|
|
163
|
-
doExecuteCommand: (command: string, args: import("@volar/language-service").ExecutePluginCommandArgs, executeCommandContext: import("@volar/language-service").ExecuteCommandContext) => Promise<void>;
|
|
164
164
|
getInlayHints: (uri: string, range: vscode.Range) => Promise<vscode.InlayHint[] | undefined>;
|
|
165
165
|
callHierarchy: {
|
|
166
166
|
doPrepare(uri: string, position: vscode.Position): Promise<vscode.CallHierarchyItem[] | undefined>;
|
|
@@ -168,7 +168,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
168
168
|
getOutgoingCalls(item: vscode.CallHierarchyItem): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
169
169
|
};
|
|
170
170
|
dispose: () => void | undefined;
|
|
171
|
-
context: import("@volar/language-service").
|
|
171
|
+
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
172
172
|
} | undefined;
|
|
173
173
|
getParsedCommandLine: () => ts.ParsedCommandLine;
|
|
174
174
|
tryAddFile: (fileName: string) => void;
|
|
@@ -221,6 +221,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
221
221
|
};
|
|
222
222
|
languageServiceHost: import("@volar/language-service").LanguageServiceHost;
|
|
223
223
|
getLanguageService: () => {
|
|
224
|
+
triggerCharacters: string[];
|
|
224
225
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
225
226
|
ch: string;
|
|
226
227
|
position: vscode.Position;
|
|
@@ -228,7 +229,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
228
229
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
229
230
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
230
231
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
231
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
232
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
232
233
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
233
234
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
234
235
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -251,7 +252,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
251
252
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
252
253
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
253
254
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
254
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
255
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
255
256
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
256
257
|
lastChange: {
|
|
257
258
|
range: vscode.Range;
|
|
@@ -260,7 +261,6 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
260
261
|
text: string;
|
|
261
262
|
};
|
|
262
263
|
}) => Promise<NonNullable<string | vscode.TextEdit | null | undefined> | undefined>;
|
|
263
|
-
doExecuteCommand: (command: string, args: import("@volar/language-service").ExecutePluginCommandArgs, executeCommandContext: import("@volar/language-service").ExecuteCommandContext) => Promise<void>;
|
|
264
264
|
getInlayHints: (uri: string, range: vscode.Range) => Promise<vscode.InlayHint[] | undefined>;
|
|
265
265
|
callHierarchy: {
|
|
266
266
|
doPrepare(uri: string, position: vscode.Position): Promise<vscode.CallHierarchyItem[] | undefined>;
|
|
@@ -268,9 +268,10 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
268
268
|
getOutgoingCalls(item: vscode.CallHierarchyItem): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
269
269
|
};
|
|
270
270
|
dispose: () => void | undefined;
|
|
271
|
-
context: import("@volar/language-service").
|
|
271
|
+
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
272
272
|
};
|
|
273
273
|
getLanguageServiceDontCreate: () => {
|
|
274
|
+
triggerCharacters: string[];
|
|
274
275
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
275
276
|
ch: string;
|
|
276
277
|
position: vscode.Position;
|
|
@@ -278,7 +279,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
278
279
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
279
280
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
280
281
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
281
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
282
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
282
283
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
283
284
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
284
285
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -301,7 +302,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
301
302
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
302
303
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
303
304
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
304
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
305
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
305
306
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
306
307
|
lastChange: {
|
|
307
308
|
range: vscode.Range;
|
|
@@ -310,7 +311,6 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
310
311
|
text: string;
|
|
311
312
|
};
|
|
312
313
|
}) => Promise<NonNullable<string | vscode.TextEdit | null | undefined> | undefined>;
|
|
313
|
-
doExecuteCommand: (command: string, args: import("@volar/language-service").ExecutePluginCommandArgs, executeCommandContext: import("@volar/language-service").ExecuteCommandContext) => Promise<void>;
|
|
314
314
|
getInlayHints: (uri: string, range: vscode.Range) => Promise<vscode.InlayHint[] | undefined>;
|
|
315
315
|
callHierarchy: {
|
|
316
316
|
doPrepare(uri: string, position: vscode.Position): Promise<vscode.CallHierarchyItem[] | undefined>;
|
|
@@ -318,7 +318,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
318
318
|
getOutgoingCalls(item: vscode.CallHierarchyItem): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
319
319
|
};
|
|
320
320
|
dispose: () => void | undefined;
|
|
321
|
-
context: import("@volar/language-service").
|
|
321
|
+
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
322
322
|
} | undefined;
|
|
323
323
|
getParsedCommandLine: () => ts.ParsedCommandLine;
|
|
324
324
|
tryAddFile: (fileName: string) => void;
|
|
@@ -371,6 +371,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
371
371
|
};
|
|
372
372
|
languageServiceHost: import("@volar/language-service").LanguageServiceHost;
|
|
373
373
|
getLanguageService: () => {
|
|
374
|
+
triggerCharacters: string[];
|
|
374
375
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
375
376
|
ch: string;
|
|
376
377
|
position: vscode.Position;
|
|
@@ -378,7 +379,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
378
379
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
379
380
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
380
381
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
381
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
382
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
382
383
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
383
384
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
384
385
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -401,7 +402,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
401
402
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
402
403
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
403
404
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
404
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
405
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
405
406
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
406
407
|
lastChange: {
|
|
407
408
|
range: vscode.Range;
|
|
@@ -410,7 +411,6 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
410
411
|
text: string;
|
|
411
412
|
};
|
|
412
413
|
}) => Promise<NonNullable<string | vscode.TextEdit | null | undefined> | undefined>;
|
|
413
|
-
doExecuteCommand: (command: string, args: import("@volar/language-service").ExecutePluginCommandArgs, executeCommandContext: import("@volar/language-service").ExecuteCommandContext) => Promise<void>;
|
|
414
414
|
getInlayHints: (uri: string, range: vscode.Range) => Promise<vscode.InlayHint[] | undefined>;
|
|
415
415
|
callHierarchy: {
|
|
416
416
|
doPrepare(uri: string, position: vscode.Position): Promise<vscode.CallHierarchyItem[] | undefined>;
|
|
@@ -418,9 +418,10 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
418
418
|
getOutgoingCalls(item: vscode.CallHierarchyItem): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
419
419
|
};
|
|
420
420
|
dispose: () => void | undefined;
|
|
421
|
-
context: import("@volar/language-service").
|
|
421
|
+
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
422
422
|
};
|
|
423
423
|
getLanguageServiceDontCreate: () => {
|
|
424
|
+
triggerCharacters: string[];
|
|
424
425
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
425
426
|
ch: string;
|
|
426
427
|
position: vscode.Position;
|
|
@@ -428,7 +429,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
428
429
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
429
430
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
430
431
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
431
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
432
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
432
433
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
433
434
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
434
435
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -451,7 +452,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
451
452
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
452
453
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
453
454
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
454
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
455
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
455
456
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
456
457
|
lastChange: {
|
|
457
458
|
range: vscode.Range;
|
|
@@ -460,7 +461,6 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
460
461
|
text: string;
|
|
461
462
|
};
|
|
462
463
|
}) => Promise<NonNullable<string | vscode.TextEdit | null | undefined> | undefined>;
|
|
463
|
-
doExecuteCommand: (command: string, args: import("@volar/language-service").ExecutePluginCommandArgs, executeCommandContext: import("@volar/language-service").ExecuteCommandContext) => Promise<void>;
|
|
464
464
|
getInlayHints: (uri: string, range: vscode.Range) => Promise<vscode.InlayHint[] | undefined>;
|
|
465
465
|
callHierarchy: {
|
|
466
466
|
doPrepare(uri: string, position: vscode.Position): Promise<vscode.CallHierarchyItem[] | undefined>;
|
|
@@ -468,7 +468,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
468
468
|
getOutgoingCalls(item: vscode.CallHierarchyItem): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
469
469
|
};
|
|
470
470
|
dispose: () => void | undefined;
|
|
471
|
-
context: import("@volar/language-service").
|
|
471
|
+
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
472
472
|
} | undefined;
|
|
473
473
|
getParsedCommandLine: () => ts.ParsedCommandLine;
|
|
474
474
|
tryAddFile: (fileName: string) => void;
|
|
@@ -521,6 +521,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
521
521
|
};
|
|
522
522
|
languageServiceHost: import("@volar/language-service").LanguageServiceHost;
|
|
523
523
|
getLanguageService: () => {
|
|
524
|
+
triggerCharacters: string[];
|
|
524
525
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
525
526
|
ch: string;
|
|
526
527
|
position: vscode.Position;
|
|
@@ -528,7 +529,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
528
529
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
529
530
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
530
531
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
531
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
532
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
532
533
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
533
534
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
534
535
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -551,7 +552,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
551
552
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
552
553
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
553
554
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
554
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
555
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
555
556
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
556
557
|
lastChange: {
|
|
557
558
|
range: vscode.Range;
|
|
@@ -560,7 +561,6 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
560
561
|
text: string;
|
|
561
562
|
};
|
|
562
563
|
}) => Promise<NonNullable<string | vscode.TextEdit | null | undefined> | undefined>;
|
|
563
|
-
doExecuteCommand: (command: string, args: import("@volar/language-service").ExecutePluginCommandArgs, executeCommandContext: import("@volar/language-service").ExecuteCommandContext) => Promise<void>;
|
|
564
564
|
getInlayHints: (uri: string, range: vscode.Range) => Promise<vscode.InlayHint[] | undefined>;
|
|
565
565
|
callHierarchy: {
|
|
566
566
|
doPrepare(uri: string, position: vscode.Position): Promise<vscode.CallHierarchyItem[] | undefined>;
|
|
@@ -568,9 +568,10 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
568
568
|
getOutgoingCalls(item: vscode.CallHierarchyItem): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
569
569
|
};
|
|
570
570
|
dispose: () => void | undefined;
|
|
571
|
-
context: import("@volar/language-service").
|
|
571
|
+
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
572
572
|
};
|
|
573
573
|
getLanguageServiceDontCreate: () => {
|
|
574
|
+
triggerCharacters: string[];
|
|
574
575
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
575
576
|
ch: string;
|
|
576
577
|
position: vscode.Position;
|
|
@@ -578,7 +579,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
578
579
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
579
580
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
580
581
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
581
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
582
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
582
583
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
583
584
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
584
585
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -601,7 +602,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
601
602
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
602
603
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
603
604
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
604
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
605
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
605
606
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
606
607
|
lastChange: {
|
|
607
608
|
range: vscode.Range;
|
|
@@ -610,7 +611,6 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
610
611
|
text: string;
|
|
611
612
|
};
|
|
612
613
|
}) => Promise<NonNullable<string | vscode.TextEdit | null | undefined> | undefined>;
|
|
613
|
-
doExecuteCommand: (command: string, args: import("@volar/language-service").ExecutePluginCommandArgs, executeCommandContext: import("@volar/language-service").ExecuteCommandContext) => Promise<void>;
|
|
614
614
|
getInlayHints: (uri: string, range: vscode.Range) => Promise<vscode.InlayHint[] | undefined>;
|
|
615
615
|
callHierarchy: {
|
|
616
616
|
doPrepare(uri: string, position: vscode.Position): Promise<vscode.CallHierarchyItem[] | undefined>;
|
|
@@ -618,7 +618,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
618
618
|
getOutgoingCalls(item: vscode.CallHierarchyItem): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
619
619
|
};
|
|
620
620
|
dispose: () => void | undefined;
|
|
621
|
-
context: import("@volar/language-service").
|
|
621
|
+
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
622
622
|
} | undefined;
|
|
623
623
|
getParsedCommandLine: () => ts.ParsedCommandLine;
|
|
624
624
|
tryAddFile: (fileName: string) => void;
|
|
@@ -670,6 +670,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
670
670
|
};
|
|
671
671
|
languageServiceHost: import("@volar/language-service").LanguageServiceHost;
|
|
672
672
|
getLanguageService: () => {
|
|
673
|
+
triggerCharacters: string[];
|
|
673
674
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
674
675
|
ch: string;
|
|
675
676
|
position: vscode.Position;
|
|
@@ -677,7 +678,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
677
678
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
678
679
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
679
680
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
680
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
681
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
681
682
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
682
683
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
683
684
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -700,7 +701,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
700
701
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
701
702
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
702
703
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
703
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
704
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
704
705
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
705
706
|
lastChange: {
|
|
706
707
|
range: vscode.Range;
|
|
@@ -709,7 +710,6 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
709
710
|
text: string;
|
|
710
711
|
};
|
|
711
712
|
}) => Promise<NonNullable<string | vscode.TextEdit | null | undefined> | undefined>;
|
|
712
|
-
doExecuteCommand: (command: string, args: import("@volar/language-service").ExecutePluginCommandArgs, executeCommandContext: import("@volar/language-service").ExecuteCommandContext) => Promise<void>;
|
|
713
713
|
getInlayHints: (uri: string, range: vscode.Range) => Promise<vscode.InlayHint[] | undefined>;
|
|
714
714
|
callHierarchy: {
|
|
715
715
|
doPrepare(uri: string, position: vscode.Position): Promise<vscode.CallHierarchyItem[] | undefined>;
|
|
@@ -717,9 +717,10 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
717
717
|
getOutgoingCalls(item: vscode.CallHierarchyItem): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
718
718
|
};
|
|
719
719
|
dispose: () => void | undefined;
|
|
720
|
-
context: import("@volar/language-service").
|
|
720
|
+
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
721
721
|
};
|
|
722
722
|
getLanguageServiceDontCreate: () => {
|
|
723
|
+
triggerCharacters: string[];
|
|
723
724
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
724
725
|
ch: string;
|
|
725
726
|
position: vscode.Position;
|
|
@@ -727,7 +728,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
727
728
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
728
729
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
729
730
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
730
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
731
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
731
732
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
732
733
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
733
734
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -750,7 +751,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
750
751
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
751
752
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
752
753
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
753
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
754
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
754
755
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
755
756
|
lastChange: {
|
|
756
757
|
range: vscode.Range;
|
|
@@ -759,7 +760,6 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
759
760
|
text: string;
|
|
760
761
|
};
|
|
761
762
|
}) => Promise<NonNullable<string | vscode.TextEdit | null | undefined> | undefined>;
|
|
762
|
-
doExecuteCommand: (command: string, args: import("@volar/language-service").ExecutePluginCommandArgs, executeCommandContext: import("@volar/language-service").ExecuteCommandContext) => Promise<void>;
|
|
763
763
|
getInlayHints: (uri: string, range: vscode.Range) => Promise<vscode.InlayHint[] | undefined>;
|
|
764
764
|
callHierarchy: {
|
|
765
765
|
doPrepare(uri: string, position: vscode.Position): Promise<vscode.CallHierarchyItem[] | undefined>;
|
|
@@ -767,7 +767,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
767
767
|
getOutgoingCalls(item: vscode.CallHierarchyItem): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
768
768
|
};
|
|
769
769
|
dispose: () => void | undefined;
|
|
770
|
-
context: import("@volar/language-service").
|
|
770
|
+
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
771
771
|
} | undefined;
|
|
772
772
|
getParsedCommandLine: () => ts.ParsedCommandLine;
|
|
773
773
|
tryAddFile: (fileName: string) => void;
|
|
@@ -819,6 +819,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
819
819
|
};
|
|
820
820
|
languageServiceHost: import("@volar/language-service").LanguageServiceHost;
|
|
821
821
|
getLanguageService: () => {
|
|
822
|
+
triggerCharacters: string[];
|
|
822
823
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
823
824
|
ch: string;
|
|
824
825
|
position: vscode.Position;
|
|
@@ -826,7 +827,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
826
827
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
827
828
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
828
829
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
829
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
830
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
830
831
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
831
832
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
832
833
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -849,7 +850,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
849
850
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
850
851
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
851
852
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
852
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
853
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
853
854
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
854
855
|
lastChange: {
|
|
855
856
|
range: vscode.Range;
|
|
@@ -858,7 +859,6 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
858
859
|
text: string;
|
|
859
860
|
};
|
|
860
861
|
}) => Promise<NonNullable<string | vscode.TextEdit | null | undefined> | undefined>;
|
|
861
|
-
doExecuteCommand: (command: string, args: import("@volar/language-service").ExecutePluginCommandArgs, executeCommandContext: import("@volar/language-service").ExecuteCommandContext) => Promise<void>;
|
|
862
862
|
getInlayHints: (uri: string, range: vscode.Range) => Promise<vscode.InlayHint[] | undefined>;
|
|
863
863
|
callHierarchy: {
|
|
864
864
|
doPrepare(uri: string, position: vscode.Position): Promise<vscode.CallHierarchyItem[] | undefined>;
|
|
@@ -866,9 +866,10 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
866
866
|
getOutgoingCalls(item: vscode.CallHierarchyItem): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
867
867
|
};
|
|
868
868
|
dispose: () => void | undefined;
|
|
869
|
-
context: import("@volar/language-service").
|
|
869
|
+
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
870
870
|
};
|
|
871
871
|
getLanguageServiceDontCreate: () => {
|
|
872
|
+
triggerCharacters: string[];
|
|
872
873
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
873
874
|
ch: string;
|
|
874
875
|
position: vscode.Position;
|
|
@@ -876,7 +877,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
876
877
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
877
878
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
878
879
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
879
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
880
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
880
881
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
881
882
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
882
883
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -899,7 +900,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
899
900
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
900
901
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
901
902
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
902
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
903
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
903
904
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
904
905
|
lastChange: {
|
|
905
906
|
range: vscode.Range;
|
|
@@ -908,7 +909,6 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
908
909
|
text: string;
|
|
909
910
|
};
|
|
910
911
|
}) => Promise<NonNullable<string | vscode.TextEdit | null | undefined> | undefined>;
|
|
911
|
-
doExecuteCommand: (command: string, args: import("@volar/language-service").ExecutePluginCommandArgs, executeCommandContext: import("@volar/language-service").ExecuteCommandContext) => Promise<void>;
|
|
912
912
|
getInlayHints: (uri: string, range: vscode.Range) => Promise<vscode.InlayHint[] | undefined>;
|
|
913
913
|
callHierarchy: {
|
|
914
914
|
doPrepare(uri: string, position: vscode.Position): Promise<vscode.CallHierarchyItem[] | undefined>;
|
|
@@ -916,7 +916,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
916
916
|
getOutgoingCalls(item: vscode.CallHierarchyItem): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
917
917
|
};
|
|
918
918
|
dispose: () => void | undefined;
|
|
919
|
-
context: import("@volar/language-service").
|
|
919
|
+
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
920
920
|
} | undefined;
|
|
921
921
|
getParsedCommandLine: () => ts.ParsedCommandLine;
|
|
922
922
|
tryAddFile: (fileName: string) => void;
|
|
@@ -972,6 +972,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
972
972
|
};
|
|
973
973
|
languageServiceHost: import("@volar/language-service").LanguageServiceHost;
|
|
974
974
|
getLanguageService: () => {
|
|
975
|
+
triggerCharacters: string[];
|
|
975
976
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
976
977
|
ch: string;
|
|
977
978
|
position: vscode.Position;
|
|
@@ -979,7 +980,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
979
980
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
980
981
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
981
982
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
982
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
983
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
983
984
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
984
985
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
985
986
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -1002,7 +1003,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1002
1003
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
1003
1004
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
1004
1005
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
1005
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
1006
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
1006
1007
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
1007
1008
|
lastChange: {
|
|
1008
1009
|
range: vscode.Range;
|
|
@@ -1011,7 +1012,6 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1011
1012
|
text: string;
|
|
1012
1013
|
};
|
|
1013
1014
|
}) => Promise<NonNullable<string | vscode.TextEdit | null | undefined> | undefined>;
|
|
1014
|
-
doExecuteCommand: (command: string, args: import("@volar/language-service").ExecutePluginCommandArgs, executeCommandContext: import("@volar/language-service").ExecuteCommandContext) => Promise<void>;
|
|
1015
1015
|
getInlayHints: (uri: string, range: vscode.Range) => Promise<vscode.InlayHint[] | undefined>;
|
|
1016
1016
|
callHierarchy: {
|
|
1017
1017
|
doPrepare(uri: string, position: vscode.Position): Promise<vscode.CallHierarchyItem[] | undefined>;
|
|
@@ -1019,9 +1019,10 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1019
1019
|
getOutgoingCalls(item: vscode.CallHierarchyItem): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
1020
1020
|
};
|
|
1021
1021
|
dispose: () => void | undefined;
|
|
1022
|
-
context: import("@volar/language-service").
|
|
1022
|
+
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
1023
1023
|
};
|
|
1024
1024
|
getLanguageServiceDontCreate: () => {
|
|
1025
|
+
triggerCharacters: string[];
|
|
1025
1026
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
1026
1027
|
ch: string;
|
|
1027
1028
|
position: vscode.Position;
|
|
@@ -1029,7 +1030,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1029
1030
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
1030
1031
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
1031
1032
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
1032
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
1033
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
1033
1034
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
1034
1035
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
1035
1036
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -1052,7 +1053,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1052
1053
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
1053
1054
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
1054
1055
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
1055
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
1056
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
1056
1057
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
1057
1058
|
lastChange: {
|
|
1058
1059
|
range: vscode.Range;
|
|
@@ -1061,7 +1062,6 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1061
1062
|
text: string;
|
|
1062
1063
|
};
|
|
1063
1064
|
}) => Promise<NonNullable<string | vscode.TextEdit | null | undefined> | undefined>;
|
|
1064
|
-
doExecuteCommand: (command: string, args: import("@volar/language-service").ExecutePluginCommandArgs, executeCommandContext: import("@volar/language-service").ExecuteCommandContext) => Promise<void>;
|
|
1065
1065
|
getInlayHints: (uri: string, range: vscode.Range) => Promise<vscode.InlayHint[] | undefined>;
|
|
1066
1066
|
callHierarchy: {
|
|
1067
1067
|
doPrepare(uri: string, position: vscode.Position): Promise<vscode.CallHierarchyItem[] | undefined>;
|
|
@@ -1069,7 +1069,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1069
1069
|
getOutgoingCalls(item: vscode.CallHierarchyItem): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
1070
1070
|
};
|
|
1071
1071
|
dispose: () => void | undefined;
|
|
1072
|
-
context: import("@volar/language-service").
|
|
1072
|
+
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
1073
1073
|
} | undefined;
|
|
1074
1074
|
getParsedCommandLine: () => ts.ParsedCommandLine;
|
|
1075
1075
|
tryAddFile: (fileName: string) => void;
|
|
@@ -1122,6 +1122,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1122
1122
|
};
|
|
1123
1123
|
languageServiceHost: import("@volar/language-service").LanguageServiceHost;
|
|
1124
1124
|
getLanguageService: () => {
|
|
1125
|
+
triggerCharacters: string[];
|
|
1125
1126
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
1126
1127
|
ch: string;
|
|
1127
1128
|
position: vscode.Position;
|
|
@@ -1129,7 +1130,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1129
1130
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
1130
1131
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
1131
1132
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
1132
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
1133
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
1133
1134
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
1134
1135
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
1135
1136
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -1152,7 +1153,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1152
1153
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
1153
1154
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
1154
1155
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
1155
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
1156
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
1156
1157
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
1157
1158
|
lastChange: {
|
|
1158
1159
|
range: vscode.Range;
|
|
@@ -1161,7 +1162,6 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1161
1162
|
text: string;
|
|
1162
1163
|
};
|
|
1163
1164
|
}) => Promise<NonNullable<string | vscode.TextEdit | null | undefined> | undefined>;
|
|
1164
|
-
doExecuteCommand: (command: string, args: import("@volar/language-service").ExecutePluginCommandArgs, executeCommandContext: import("@volar/language-service").ExecuteCommandContext) => Promise<void>;
|
|
1165
1165
|
getInlayHints: (uri: string, range: vscode.Range) => Promise<vscode.InlayHint[] | undefined>;
|
|
1166
1166
|
callHierarchy: {
|
|
1167
1167
|
doPrepare(uri: string, position: vscode.Position): Promise<vscode.CallHierarchyItem[] | undefined>;
|
|
@@ -1169,9 +1169,10 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1169
1169
|
getOutgoingCalls(item: vscode.CallHierarchyItem): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
1170
1170
|
};
|
|
1171
1171
|
dispose: () => void | undefined;
|
|
1172
|
-
context: import("@volar/language-service").
|
|
1172
|
+
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
1173
1173
|
};
|
|
1174
1174
|
getLanguageServiceDontCreate: () => {
|
|
1175
|
+
triggerCharacters: string[];
|
|
1175
1176
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
1176
1177
|
ch: string;
|
|
1177
1178
|
position: vscode.Position;
|
|
@@ -1179,7 +1180,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1179
1180
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
1180
1181
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
1181
1182
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
1182
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
1183
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
1183
1184
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
1184
1185
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
1185
1186
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -1202,7 +1203,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1202
1203
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
1203
1204
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
1204
1205
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
1205
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
1206
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
1206
1207
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
1207
1208
|
lastChange: {
|
|
1208
1209
|
range: vscode.Range;
|
|
@@ -1211,7 +1212,6 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1211
1212
|
text: string;
|
|
1212
1213
|
};
|
|
1213
1214
|
}) => Promise<NonNullable<string | vscode.TextEdit | null | undefined> | undefined>;
|
|
1214
|
-
doExecuteCommand: (command: string, args: import("@volar/language-service").ExecutePluginCommandArgs, executeCommandContext: import("@volar/language-service").ExecuteCommandContext) => Promise<void>;
|
|
1215
1215
|
getInlayHints: (uri: string, range: vscode.Range) => Promise<vscode.InlayHint[] | undefined>;
|
|
1216
1216
|
callHierarchy: {
|
|
1217
1217
|
doPrepare(uri: string, position: vscode.Position): Promise<vscode.CallHierarchyItem[] | undefined>;
|
|
@@ -1219,7 +1219,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1219
1219
|
getOutgoingCalls(item: vscode.CallHierarchyItem): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
1220
1220
|
};
|
|
1221
1221
|
dispose: () => void | undefined;
|
|
1222
|
-
context: import("@volar/language-service").
|
|
1222
|
+
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
1223
1223
|
} | undefined;
|
|
1224
1224
|
getParsedCommandLine: () => ts.ParsedCommandLine;
|
|
1225
1225
|
tryAddFile: (fileName: string) => void;
|
|
@@ -1271,6 +1271,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1271
1271
|
};
|
|
1272
1272
|
languageServiceHost: import("@volar/language-service").LanguageServiceHost;
|
|
1273
1273
|
getLanguageService: () => {
|
|
1274
|
+
triggerCharacters: string[];
|
|
1274
1275
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
1275
1276
|
ch: string;
|
|
1276
1277
|
position: vscode.Position;
|
|
@@ -1278,7 +1279,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1278
1279
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
1279
1280
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
1280
1281
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
1281
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
1282
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
1282
1283
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
1283
1284
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
1284
1285
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -1301,7 +1302,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1301
1302
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
1302
1303
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
1303
1304
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
1304
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
1305
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
1305
1306
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
1306
1307
|
lastChange: {
|
|
1307
1308
|
range: vscode.Range;
|
|
@@ -1310,7 +1311,6 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1310
1311
|
text: string;
|
|
1311
1312
|
};
|
|
1312
1313
|
}) => Promise<NonNullable<string | vscode.TextEdit | null | undefined> | undefined>;
|
|
1313
|
-
doExecuteCommand: (command: string, args: import("@volar/language-service").ExecutePluginCommandArgs, executeCommandContext: import("@volar/language-service").ExecuteCommandContext) => Promise<void>;
|
|
1314
1314
|
getInlayHints: (uri: string, range: vscode.Range) => Promise<vscode.InlayHint[] | undefined>;
|
|
1315
1315
|
callHierarchy: {
|
|
1316
1316
|
doPrepare(uri: string, position: vscode.Position): Promise<vscode.CallHierarchyItem[] | undefined>;
|
|
@@ -1318,9 +1318,10 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1318
1318
|
getOutgoingCalls(item: vscode.CallHierarchyItem): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
1319
1319
|
};
|
|
1320
1320
|
dispose: () => void | undefined;
|
|
1321
|
-
context: import("@volar/language-service").
|
|
1321
|
+
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
1322
1322
|
};
|
|
1323
1323
|
getLanguageServiceDontCreate: () => {
|
|
1324
|
+
triggerCharacters: string[];
|
|
1324
1325
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
1325
1326
|
ch: string;
|
|
1326
1327
|
position: vscode.Position;
|
|
@@ -1328,7 +1329,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1328
1329
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
1329
1330
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
1330
1331
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
1331
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
1332
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
1332
1333
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
1333
1334
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
1334
1335
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -1351,7 +1352,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1351
1352
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
1352
1353
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
1353
1354
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
1354
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
1355
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
1355
1356
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
1356
1357
|
lastChange: {
|
|
1357
1358
|
range: vscode.Range;
|
|
@@ -1360,7 +1361,6 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1360
1361
|
text: string;
|
|
1361
1362
|
};
|
|
1362
1363
|
}) => Promise<NonNullable<string | vscode.TextEdit | null | undefined> | undefined>;
|
|
1363
|
-
doExecuteCommand: (command: string, args: import("@volar/language-service").ExecutePluginCommandArgs, executeCommandContext: import("@volar/language-service").ExecuteCommandContext) => Promise<void>;
|
|
1364
1364
|
getInlayHints: (uri: string, range: vscode.Range) => Promise<vscode.InlayHint[] | undefined>;
|
|
1365
1365
|
callHierarchy: {
|
|
1366
1366
|
doPrepare(uri: string, position: vscode.Position): Promise<vscode.CallHierarchyItem[] | undefined>;
|
|
@@ -1368,7 +1368,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1368
1368
|
getOutgoingCalls(item: vscode.CallHierarchyItem): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
1369
1369
|
};
|
|
1370
1370
|
dispose: () => void | undefined;
|
|
1371
|
-
context: import("@volar/language-service").
|
|
1371
|
+
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
1372
1372
|
} | undefined;
|
|
1373
1373
|
getParsedCommandLine: () => ts.ParsedCommandLine;
|
|
1374
1374
|
tryAddFile: (fileName: string) => void;
|
|
@@ -1425,6 +1425,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1425
1425
|
};
|
|
1426
1426
|
languageServiceHost: import("@volar/language-service").LanguageServiceHost;
|
|
1427
1427
|
getLanguageService: () => {
|
|
1428
|
+
triggerCharacters: string[];
|
|
1428
1429
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
1429
1430
|
ch: string;
|
|
1430
1431
|
position: vscode.Position;
|
|
@@ -1432,7 +1433,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1432
1433
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
1433
1434
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
1434
1435
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
1435
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
1436
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
1436
1437
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
1437
1438
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
1438
1439
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -1455,7 +1456,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1455
1456
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
1456
1457
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
1457
1458
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
1458
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
1459
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
1459
1460
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
1460
1461
|
lastChange: {
|
|
1461
1462
|
range: vscode.Range;
|
|
@@ -1464,7 +1465,6 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1464
1465
|
text: string;
|
|
1465
1466
|
};
|
|
1466
1467
|
}) => Promise<NonNullable<string | vscode.TextEdit | null | undefined> | undefined>;
|
|
1467
|
-
doExecuteCommand: (command: string, args: import("@volar/language-service").ExecutePluginCommandArgs, executeCommandContext: import("@volar/language-service").ExecuteCommandContext) => Promise<void>;
|
|
1468
1468
|
getInlayHints: (uri: string, range: vscode.Range) => Promise<vscode.InlayHint[] | undefined>;
|
|
1469
1469
|
callHierarchy: {
|
|
1470
1470
|
doPrepare(uri: string, position: vscode.Position): Promise<vscode.CallHierarchyItem[] | undefined>;
|
|
@@ -1472,9 +1472,10 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1472
1472
|
getOutgoingCalls(item: vscode.CallHierarchyItem): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
1473
1473
|
};
|
|
1474
1474
|
dispose: () => void | undefined;
|
|
1475
|
-
context: import("@volar/language-service").
|
|
1475
|
+
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
1476
1476
|
};
|
|
1477
1477
|
getLanguageServiceDontCreate: () => {
|
|
1478
|
+
triggerCharacters: string[];
|
|
1478
1479
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
1479
1480
|
ch: string;
|
|
1480
1481
|
position: vscode.Position;
|
|
@@ -1482,7 +1483,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1482
1483
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
1483
1484
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
1484
1485
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
1485
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
1486
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
1486
1487
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
1487
1488
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
1488
1489
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -1505,7 +1506,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1505
1506
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
1506
1507
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
1507
1508
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
1508
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
1509
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
1509
1510
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
1510
1511
|
lastChange: {
|
|
1511
1512
|
range: vscode.Range;
|
|
@@ -1514,7 +1515,6 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1514
1515
|
text: string;
|
|
1515
1516
|
};
|
|
1516
1517
|
}) => Promise<NonNullable<string | vscode.TextEdit | null | undefined> | undefined>;
|
|
1517
|
-
doExecuteCommand: (command: string, args: import("@volar/language-service").ExecutePluginCommandArgs, executeCommandContext: import("@volar/language-service").ExecuteCommandContext) => Promise<void>;
|
|
1518
1518
|
getInlayHints: (uri: string, range: vscode.Range) => Promise<vscode.InlayHint[] | undefined>;
|
|
1519
1519
|
callHierarchy: {
|
|
1520
1520
|
doPrepare(uri: string, position: vscode.Position): Promise<vscode.CallHierarchyItem[] | undefined>;
|
|
@@ -1522,7 +1522,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1522
1522
|
getOutgoingCalls(item: vscode.CallHierarchyItem): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
1523
1523
|
};
|
|
1524
1524
|
dispose: () => void | undefined;
|
|
1525
|
-
context: import("@volar/language-service").
|
|
1525
|
+
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
1526
1526
|
} | undefined;
|
|
1527
1527
|
getParsedCommandLine: () => ts.ParsedCommandLine;
|
|
1528
1528
|
tryAddFile: (fileName: string) => void;
|
|
@@ -1576,6 +1576,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1576
1576
|
};
|
|
1577
1577
|
languageServiceHost: import("@volar/language-service").LanguageServiceHost;
|
|
1578
1578
|
getLanguageService: () => {
|
|
1579
|
+
triggerCharacters: string[];
|
|
1579
1580
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
1580
1581
|
ch: string;
|
|
1581
1582
|
position: vscode.Position;
|
|
@@ -1583,7 +1584,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1583
1584
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
1584
1585
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
1585
1586
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
1586
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
1587
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
1587
1588
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
1588
1589
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
1589
1590
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -1606,7 +1607,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1606
1607
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
1607
1608
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
1608
1609
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
1609
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
1610
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
1610
1611
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
1611
1612
|
lastChange: {
|
|
1612
1613
|
range: vscode.Range;
|
|
@@ -1615,7 +1616,6 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1615
1616
|
text: string;
|
|
1616
1617
|
};
|
|
1617
1618
|
}) => Promise<NonNullable<string | vscode.TextEdit | null | undefined> | undefined>;
|
|
1618
|
-
doExecuteCommand: (command: string, args: import("@volar/language-service").ExecutePluginCommandArgs, executeCommandContext: import("@volar/language-service").ExecuteCommandContext) => Promise<void>;
|
|
1619
1619
|
getInlayHints: (uri: string, range: vscode.Range) => Promise<vscode.InlayHint[] | undefined>;
|
|
1620
1620
|
callHierarchy: {
|
|
1621
1621
|
doPrepare(uri: string, position: vscode.Position): Promise<vscode.CallHierarchyItem[] | undefined>;
|
|
@@ -1623,9 +1623,10 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1623
1623
|
getOutgoingCalls(item: vscode.CallHierarchyItem): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
1624
1624
|
};
|
|
1625
1625
|
dispose: () => void | undefined;
|
|
1626
|
-
context: import("@volar/language-service").
|
|
1626
|
+
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
1627
1627
|
};
|
|
1628
1628
|
getLanguageServiceDontCreate: () => {
|
|
1629
|
+
triggerCharacters: string[];
|
|
1629
1630
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
1630
1631
|
ch: string;
|
|
1631
1632
|
position: vscode.Position;
|
|
@@ -1633,7 +1634,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1633
1634
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
1634
1635
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
1635
1636
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
1636
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
1637
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
1637
1638
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
1638
1639
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
1639
1640
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -1656,7 +1657,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1656
1657
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
1657
1658
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
1658
1659
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
1659
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
1660
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
1660
1661
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
1661
1662
|
lastChange: {
|
|
1662
1663
|
range: vscode.Range;
|
|
@@ -1665,7 +1666,6 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1665
1666
|
text: string;
|
|
1666
1667
|
};
|
|
1667
1668
|
}) => Promise<NonNullable<string | vscode.TextEdit | null | undefined> | undefined>;
|
|
1668
|
-
doExecuteCommand: (command: string, args: import("@volar/language-service").ExecutePluginCommandArgs, executeCommandContext: import("@volar/language-service").ExecuteCommandContext) => Promise<void>;
|
|
1669
1669
|
getInlayHints: (uri: string, range: vscode.Range) => Promise<vscode.InlayHint[] | undefined>;
|
|
1670
1670
|
callHierarchy: {
|
|
1671
1671
|
doPrepare(uri: string, position: vscode.Position): Promise<vscode.CallHierarchyItem[] | undefined>;
|
|
@@ -1673,7 +1673,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1673
1673
|
getOutgoingCalls(item: vscode.CallHierarchyItem): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
1674
1674
|
};
|
|
1675
1675
|
dispose: () => void | undefined;
|
|
1676
|
-
context: import("@volar/language-service").
|
|
1676
|
+
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
1677
1677
|
} | undefined;
|
|
1678
1678
|
getParsedCommandLine: () => ts.ParsedCommandLine;
|
|
1679
1679
|
tryAddFile: (fileName: string) => void;
|