@volar/language-server 1.2.0-alpha.16 → 1.2.0-alpha.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="typesafe-path" />
|
|
2
1
|
import { ConfigurationHost } from '@volar/language-service';
|
|
3
2
|
import type * as ts from 'typescript/lib/tsserverlibrary';
|
|
4
3
|
import * as vscode from 'vscode-languageserver';
|
|
@@ -71,6 +70,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
71
70
|
};
|
|
72
71
|
languageServiceHost: import("@volar/language-service").LanguageServiceHost;
|
|
73
72
|
getLanguageService: () => {
|
|
73
|
+
triggerCharacters: string[];
|
|
74
74
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
75
75
|
ch: string;
|
|
76
76
|
position: vscode.Position;
|
|
@@ -78,7 +78,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
78
78
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
79
79
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
80
80
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
81
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
81
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
82
82
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
83
83
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
84
84
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -87,7 +87,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
87
87
|
findDefinition: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
88
88
|
findTypeDefinition: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
89
89
|
findImplementations: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
90
|
-
prepareRename: (uri: string, position: vscode.Position) => Promise<NonNullable<vscode.
|
|
90
|
+
prepareRename: (uri: string, position: vscode.Position) => Promise<NonNullable<vscode.Range | vscode.ResponseError<void> | null | undefined> | undefined>;
|
|
91
91
|
doRename: (uri: string, position: vscode.Position, newName: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
92
92
|
getEditsForFileRename: (oldUri: string, newUri: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
93
93
|
getSemanticTokens: (uri: string, range: vscode.Range | undefined, legend: vscode.SemanticTokensLegend, cancelToken: vscode.CancellationToken, reportProgress?: ((tokens: import("@volar/language-service").SemanticToken[]) => void) | undefined) => Promise<import("@volar/language-service").SemanticToken[] | undefined> | undefined;
|
|
@@ -101,7 +101,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
101
101
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
102
102
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
103
103
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
104
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
104
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
105
105
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
106
106
|
lastChange: {
|
|
107
107
|
range: vscode.Range;
|
|
@@ -120,6 +120,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
120
120
|
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
121
121
|
};
|
|
122
122
|
getLanguageServiceDontCreate: () => {
|
|
123
|
+
triggerCharacters: string[];
|
|
123
124
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
124
125
|
ch: string;
|
|
125
126
|
position: vscode.Position;
|
|
@@ -127,7 +128,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
127
128
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
128
129
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
129
130
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
130
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
131
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
131
132
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
132
133
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
133
134
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -136,7 +137,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
136
137
|
findDefinition: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
137
138
|
findTypeDefinition: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
138
139
|
findImplementations: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
139
|
-
prepareRename: (uri: string, position: vscode.Position) => Promise<NonNullable<vscode.
|
|
140
|
+
prepareRename: (uri: string, position: vscode.Position) => Promise<NonNullable<vscode.Range | vscode.ResponseError<void> | null | undefined> | undefined>;
|
|
140
141
|
doRename: (uri: string, position: vscode.Position, newName: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
141
142
|
getEditsForFileRename: (oldUri: string, newUri: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
142
143
|
getSemanticTokens: (uri: string, range: vscode.Range | undefined, legend: vscode.SemanticTokensLegend, cancelToken: vscode.CancellationToken, reportProgress?: ((tokens: import("@volar/language-service").SemanticToken[]) => void) | undefined) => Promise<import("@volar/language-service").SemanticToken[] | undefined> | undefined;
|
|
@@ -150,7 +151,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
150
151
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
151
152
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
152
153
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
153
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
154
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
154
155
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
155
156
|
lastChange: {
|
|
156
157
|
range: vscode.Range;
|
|
@@ -219,6 +220,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
219
220
|
};
|
|
220
221
|
languageServiceHost: import("@volar/language-service").LanguageServiceHost;
|
|
221
222
|
getLanguageService: () => {
|
|
223
|
+
triggerCharacters: string[];
|
|
222
224
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
223
225
|
ch: string;
|
|
224
226
|
position: vscode.Position;
|
|
@@ -226,7 +228,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
226
228
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
227
229
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
228
230
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
229
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
231
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
230
232
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
231
233
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
232
234
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -235,7 +237,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
235
237
|
findDefinition: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
236
238
|
findTypeDefinition: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
237
239
|
findImplementations: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
238
|
-
prepareRename: (uri: string, position: vscode.Position) => Promise<NonNullable<vscode.
|
|
240
|
+
prepareRename: (uri: string, position: vscode.Position) => Promise<NonNullable<vscode.Range | vscode.ResponseError<void> | null | undefined> | undefined>;
|
|
239
241
|
doRename: (uri: string, position: vscode.Position, newName: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
240
242
|
getEditsForFileRename: (oldUri: string, newUri: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
241
243
|
getSemanticTokens: (uri: string, range: vscode.Range | undefined, legend: vscode.SemanticTokensLegend, cancelToken: vscode.CancellationToken, reportProgress?: ((tokens: import("@volar/language-service").SemanticToken[]) => void) | undefined) => Promise<import("@volar/language-service").SemanticToken[] | undefined> | undefined;
|
|
@@ -249,7 +251,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
249
251
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
250
252
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
251
253
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
252
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
254
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
253
255
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
254
256
|
lastChange: {
|
|
255
257
|
range: vscode.Range;
|
|
@@ -268,6 +270,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
268
270
|
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
269
271
|
};
|
|
270
272
|
getLanguageServiceDontCreate: () => {
|
|
273
|
+
triggerCharacters: string[];
|
|
271
274
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
272
275
|
ch: string;
|
|
273
276
|
position: vscode.Position;
|
|
@@ -275,7 +278,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
275
278
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
276
279
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
277
280
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
278
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
281
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
279
282
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
280
283
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
281
284
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -284,7 +287,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
284
287
|
findDefinition: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
285
288
|
findTypeDefinition: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
286
289
|
findImplementations: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
287
|
-
prepareRename: (uri: string, position: vscode.Position) => Promise<NonNullable<vscode.
|
|
290
|
+
prepareRename: (uri: string, position: vscode.Position) => Promise<NonNullable<vscode.Range | vscode.ResponseError<void> | null | undefined> | undefined>;
|
|
288
291
|
doRename: (uri: string, position: vscode.Position, newName: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
289
292
|
getEditsForFileRename: (oldUri: string, newUri: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
290
293
|
getSemanticTokens: (uri: string, range: vscode.Range | undefined, legend: vscode.SemanticTokensLegend, cancelToken: vscode.CancellationToken, reportProgress?: ((tokens: import("@volar/language-service").SemanticToken[]) => void) | undefined) => Promise<import("@volar/language-service").SemanticToken[] | undefined> | undefined;
|
|
@@ -298,7 +301,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
298
301
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
299
302
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
300
303
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
301
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
304
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
302
305
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
303
306
|
lastChange: {
|
|
304
307
|
range: vscode.Range;
|
|
@@ -367,6 +370,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
367
370
|
};
|
|
368
371
|
languageServiceHost: import("@volar/language-service").LanguageServiceHost;
|
|
369
372
|
getLanguageService: () => {
|
|
373
|
+
triggerCharacters: string[];
|
|
370
374
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
371
375
|
ch: string;
|
|
372
376
|
position: vscode.Position;
|
|
@@ -374,7 +378,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
374
378
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
375
379
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
376
380
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
377
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
381
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
378
382
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
379
383
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
380
384
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -383,7 +387,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
383
387
|
findDefinition: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
384
388
|
findTypeDefinition: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
385
389
|
findImplementations: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
386
|
-
prepareRename: (uri: string, position: vscode.Position) => Promise<NonNullable<vscode.
|
|
390
|
+
prepareRename: (uri: string, position: vscode.Position) => Promise<NonNullable<vscode.Range | vscode.ResponseError<void> | null | undefined> | undefined>;
|
|
387
391
|
doRename: (uri: string, position: vscode.Position, newName: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
388
392
|
getEditsForFileRename: (oldUri: string, newUri: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
389
393
|
getSemanticTokens: (uri: string, range: vscode.Range | undefined, legend: vscode.SemanticTokensLegend, cancelToken: vscode.CancellationToken, reportProgress?: ((tokens: import("@volar/language-service").SemanticToken[]) => void) | undefined) => Promise<import("@volar/language-service").SemanticToken[] | undefined> | undefined;
|
|
@@ -397,7 +401,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
397
401
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
398
402
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
399
403
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
400
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
404
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
401
405
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
402
406
|
lastChange: {
|
|
403
407
|
range: vscode.Range;
|
|
@@ -416,6 +420,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
416
420
|
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
417
421
|
};
|
|
418
422
|
getLanguageServiceDontCreate: () => {
|
|
423
|
+
triggerCharacters: string[];
|
|
419
424
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
420
425
|
ch: string;
|
|
421
426
|
position: vscode.Position;
|
|
@@ -423,7 +428,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
423
428
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
424
429
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
425
430
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
426
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
431
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
427
432
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
428
433
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
429
434
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -432,7 +437,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
432
437
|
findDefinition: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
433
438
|
findTypeDefinition: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
434
439
|
findImplementations: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
435
|
-
prepareRename: (uri: string, position: vscode.Position) => Promise<NonNullable<vscode.
|
|
440
|
+
prepareRename: (uri: string, position: vscode.Position) => Promise<NonNullable<vscode.Range | vscode.ResponseError<void> | null | undefined> | undefined>;
|
|
436
441
|
doRename: (uri: string, position: vscode.Position, newName: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
437
442
|
getEditsForFileRename: (oldUri: string, newUri: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
438
443
|
getSemanticTokens: (uri: string, range: vscode.Range | undefined, legend: vscode.SemanticTokensLegend, cancelToken: vscode.CancellationToken, reportProgress?: ((tokens: import("@volar/language-service").SemanticToken[]) => void) | undefined) => Promise<import("@volar/language-service").SemanticToken[] | undefined> | undefined;
|
|
@@ -446,7 +451,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
446
451
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
447
452
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
448
453
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
449
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
454
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
450
455
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
451
456
|
lastChange: {
|
|
452
457
|
range: vscode.Range;
|
|
@@ -515,6 +520,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
515
520
|
};
|
|
516
521
|
languageServiceHost: import("@volar/language-service").LanguageServiceHost;
|
|
517
522
|
getLanguageService: () => {
|
|
523
|
+
triggerCharacters: string[];
|
|
518
524
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
519
525
|
ch: string;
|
|
520
526
|
position: vscode.Position;
|
|
@@ -522,7 +528,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
522
528
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
523
529
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
524
530
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
525
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
531
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
526
532
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
527
533
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
528
534
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -531,7 +537,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
531
537
|
findDefinition: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
532
538
|
findTypeDefinition: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
533
539
|
findImplementations: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
534
|
-
prepareRename: (uri: string, position: vscode.Position) => Promise<NonNullable<vscode.
|
|
540
|
+
prepareRename: (uri: string, position: vscode.Position) => Promise<NonNullable<vscode.Range | vscode.ResponseError<void> | null | undefined> | undefined>;
|
|
535
541
|
doRename: (uri: string, position: vscode.Position, newName: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
536
542
|
getEditsForFileRename: (oldUri: string, newUri: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
537
543
|
getSemanticTokens: (uri: string, range: vscode.Range | undefined, legend: vscode.SemanticTokensLegend, cancelToken: vscode.CancellationToken, reportProgress?: ((tokens: import("@volar/language-service").SemanticToken[]) => void) | undefined) => Promise<import("@volar/language-service").SemanticToken[] | undefined> | undefined;
|
|
@@ -545,7 +551,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
545
551
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
546
552
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
547
553
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
548
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
554
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
549
555
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
550
556
|
lastChange: {
|
|
551
557
|
range: vscode.Range;
|
|
@@ -564,6 +570,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
564
570
|
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
565
571
|
};
|
|
566
572
|
getLanguageServiceDontCreate: () => {
|
|
573
|
+
triggerCharacters: string[];
|
|
567
574
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
568
575
|
ch: string;
|
|
569
576
|
position: vscode.Position;
|
|
@@ -571,7 +578,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
571
578
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
572
579
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
573
580
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
574
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
581
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
575
582
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
576
583
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
577
584
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -580,7 +587,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
580
587
|
findDefinition: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
581
588
|
findTypeDefinition: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
582
589
|
findImplementations: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
583
|
-
prepareRename: (uri: string, position: vscode.Position) => Promise<NonNullable<vscode.
|
|
590
|
+
prepareRename: (uri: string, position: vscode.Position) => Promise<NonNullable<vscode.Range | vscode.ResponseError<void> | null | undefined> | undefined>;
|
|
584
591
|
doRename: (uri: string, position: vscode.Position, newName: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
585
592
|
getEditsForFileRename: (oldUri: string, newUri: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
586
593
|
getSemanticTokens: (uri: string, range: vscode.Range | undefined, legend: vscode.SemanticTokensLegend, cancelToken: vscode.CancellationToken, reportProgress?: ((tokens: import("@volar/language-service").SemanticToken[]) => void) | undefined) => Promise<import("@volar/language-service").SemanticToken[] | undefined> | undefined;
|
|
@@ -594,7 +601,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
594
601
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
595
602
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
596
603
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
597
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
604
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
598
605
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
599
606
|
lastChange: {
|
|
600
607
|
range: vscode.Range;
|
|
@@ -662,6 +669,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
662
669
|
};
|
|
663
670
|
languageServiceHost: import("@volar/language-service").LanguageServiceHost;
|
|
664
671
|
getLanguageService: () => {
|
|
672
|
+
triggerCharacters: string[];
|
|
665
673
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
666
674
|
ch: string;
|
|
667
675
|
position: vscode.Position;
|
|
@@ -669,7 +677,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
669
677
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
670
678
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
671
679
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
672
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
680
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
673
681
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
674
682
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
675
683
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -678,7 +686,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
678
686
|
findDefinition: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
679
687
|
findTypeDefinition: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
680
688
|
findImplementations: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
681
|
-
prepareRename: (uri: string, position: vscode.Position) => Promise<NonNullable<vscode.
|
|
689
|
+
prepareRename: (uri: string, position: vscode.Position) => Promise<NonNullable<vscode.Range | vscode.ResponseError<void> | null | undefined> | undefined>;
|
|
682
690
|
doRename: (uri: string, position: vscode.Position, newName: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
683
691
|
getEditsForFileRename: (oldUri: string, newUri: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
684
692
|
getSemanticTokens: (uri: string, range: vscode.Range | undefined, legend: vscode.SemanticTokensLegend, cancelToken: vscode.CancellationToken, reportProgress?: ((tokens: import("@volar/language-service").SemanticToken[]) => void) | undefined) => Promise<import("@volar/language-service").SemanticToken[] | undefined> | undefined;
|
|
@@ -692,7 +700,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
692
700
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
693
701
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
694
702
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
695
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
703
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
696
704
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
697
705
|
lastChange: {
|
|
698
706
|
range: vscode.Range;
|
|
@@ -711,6 +719,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
711
719
|
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
712
720
|
};
|
|
713
721
|
getLanguageServiceDontCreate: () => {
|
|
722
|
+
triggerCharacters: string[];
|
|
714
723
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
715
724
|
ch: string;
|
|
716
725
|
position: vscode.Position;
|
|
@@ -718,7 +727,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
718
727
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
719
728
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
720
729
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
721
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
730
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
722
731
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
723
732
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
724
733
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -727,7 +736,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
727
736
|
findDefinition: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
728
737
|
findTypeDefinition: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
729
738
|
findImplementations: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
730
|
-
prepareRename: (uri: string, position: vscode.Position) => Promise<NonNullable<vscode.
|
|
739
|
+
prepareRename: (uri: string, position: vscode.Position) => Promise<NonNullable<vscode.Range | vscode.ResponseError<void> | null | undefined> | undefined>;
|
|
731
740
|
doRename: (uri: string, position: vscode.Position, newName: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
732
741
|
getEditsForFileRename: (oldUri: string, newUri: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
733
742
|
getSemanticTokens: (uri: string, range: vscode.Range | undefined, legend: vscode.SemanticTokensLegend, cancelToken: vscode.CancellationToken, reportProgress?: ((tokens: import("@volar/language-service").SemanticToken[]) => void) | undefined) => Promise<import("@volar/language-service").SemanticToken[] | undefined> | undefined;
|
|
@@ -741,7 +750,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
741
750
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
742
751
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
743
752
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
744
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
753
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
745
754
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
746
755
|
lastChange: {
|
|
747
756
|
range: vscode.Range;
|
|
@@ -809,6 +818,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
809
818
|
};
|
|
810
819
|
languageServiceHost: import("@volar/language-service").LanguageServiceHost;
|
|
811
820
|
getLanguageService: () => {
|
|
821
|
+
triggerCharacters: string[];
|
|
812
822
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
813
823
|
ch: string;
|
|
814
824
|
position: vscode.Position;
|
|
@@ -816,7 +826,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
816
826
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
817
827
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
818
828
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
819
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
829
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
820
830
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
821
831
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
822
832
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -825,7 +835,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
825
835
|
findDefinition: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
826
836
|
findTypeDefinition: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
827
837
|
findImplementations: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
828
|
-
prepareRename: (uri: string, position: vscode.Position) => Promise<NonNullable<vscode.
|
|
838
|
+
prepareRename: (uri: string, position: vscode.Position) => Promise<NonNullable<vscode.Range | vscode.ResponseError<void> | null | undefined> | undefined>;
|
|
829
839
|
doRename: (uri: string, position: vscode.Position, newName: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
830
840
|
getEditsForFileRename: (oldUri: string, newUri: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
831
841
|
getSemanticTokens: (uri: string, range: vscode.Range | undefined, legend: vscode.SemanticTokensLegend, cancelToken: vscode.CancellationToken, reportProgress?: ((tokens: import("@volar/language-service").SemanticToken[]) => void) | undefined) => Promise<import("@volar/language-service").SemanticToken[] | undefined> | undefined;
|
|
@@ -839,7 +849,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
839
849
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
840
850
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
841
851
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
842
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
852
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
843
853
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
844
854
|
lastChange: {
|
|
845
855
|
range: vscode.Range;
|
|
@@ -858,6 +868,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
858
868
|
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
859
869
|
};
|
|
860
870
|
getLanguageServiceDontCreate: () => {
|
|
871
|
+
triggerCharacters: string[];
|
|
861
872
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
862
873
|
ch: string;
|
|
863
874
|
position: vscode.Position;
|
|
@@ -865,7 +876,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
865
876
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
866
877
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
867
878
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
868
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
879
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
869
880
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
870
881
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
871
882
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -874,7 +885,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
874
885
|
findDefinition: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
875
886
|
findTypeDefinition: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
876
887
|
findImplementations: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
877
|
-
prepareRename: (uri: string, position: vscode.Position) => Promise<NonNullable<vscode.
|
|
888
|
+
prepareRename: (uri: string, position: vscode.Position) => Promise<NonNullable<vscode.Range | vscode.ResponseError<void> | null | undefined> | undefined>;
|
|
878
889
|
doRename: (uri: string, position: vscode.Position, newName: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
879
890
|
getEditsForFileRename: (oldUri: string, newUri: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
880
891
|
getSemanticTokens: (uri: string, range: vscode.Range | undefined, legend: vscode.SemanticTokensLegend, cancelToken: vscode.CancellationToken, reportProgress?: ((tokens: import("@volar/language-service").SemanticToken[]) => void) | undefined) => Promise<import("@volar/language-service").SemanticToken[] | undefined> | undefined;
|
|
@@ -888,7 +899,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
888
899
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
889
900
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
890
901
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
891
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
902
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
892
903
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
893
904
|
lastChange: {
|
|
894
905
|
range: vscode.Range;
|
|
@@ -960,6 +971,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
960
971
|
};
|
|
961
972
|
languageServiceHost: import("@volar/language-service").LanguageServiceHost;
|
|
962
973
|
getLanguageService: () => {
|
|
974
|
+
triggerCharacters: string[];
|
|
963
975
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
964
976
|
ch: string;
|
|
965
977
|
position: vscode.Position;
|
|
@@ -967,7 +979,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
967
979
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
968
980
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
969
981
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
970
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
982
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
971
983
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
972
984
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
973
985
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -976,7 +988,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
976
988
|
findDefinition: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
977
989
|
findTypeDefinition: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
978
990
|
findImplementations: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
979
|
-
prepareRename: (uri: string, position: vscode.Position) => Promise<NonNullable<vscode.
|
|
991
|
+
prepareRename: (uri: string, position: vscode.Position) => Promise<NonNullable<vscode.Range | vscode.ResponseError<void> | null | undefined> | undefined>;
|
|
980
992
|
doRename: (uri: string, position: vscode.Position, newName: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
981
993
|
getEditsForFileRename: (oldUri: string, newUri: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
982
994
|
getSemanticTokens: (uri: string, range: vscode.Range | undefined, legend: vscode.SemanticTokensLegend, cancelToken: vscode.CancellationToken, reportProgress?: ((tokens: import("@volar/language-service").SemanticToken[]) => void) | undefined) => Promise<import("@volar/language-service").SemanticToken[] | undefined> | undefined;
|
|
@@ -990,7 +1002,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
990
1002
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
991
1003
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
992
1004
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
993
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
1005
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
994
1006
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
995
1007
|
lastChange: {
|
|
996
1008
|
range: vscode.Range;
|
|
@@ -1009,6 +1021,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1009
1021
|
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
1010
1022
|
};
|
|
1011
1023
|
getLanguageServiceDontCreate: () => {
|
|
1024
|
+
triggerCharacters: string[];
|
|
1012
1025
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
1013
1026
|
ch: string;
|
|
1014
1027
|
position: vscode.Position;
|
|
@@ -1016,7 +1029,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1016
1029
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
1017
1030
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
1018
1031
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
1019
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
1032
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
1020
1033
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
1021
1034
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
1022
1035
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -1025,7 +1038,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1025
1038
|
findDefinition: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
1026
1039
|
findTypeDefinition: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
1027
1040
|
findImplementations: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
1028
|
-
prepareRename: (uri: string, position: vscode.Position) => Promise<NonNullable<vscode.
|
|
1041
|
+
prepareRename: (uri: string, position: vscode.Position) => Promise<NonNullable<vscode.Range | vscode.ResponseError<void> | null | undefined> | undefined>;
|
|
1029
1042
|
doRename: (uri: string, position: vscode.Position, newName: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
1030
1043
|
getEditsForFileRename: (oldUri: string, newUri: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
1031
1044
|
getSemanticTokens: (uri: string, range: vscode.Range | undefined, legend: vscode.SemanticTokensLegend, cancelToken: vscode.CancellationToken, reportProgress?: ((tokens: import("@volar/language-service").SemanticToken[]) => void) | undefined) => Promise<import("@volar/language-service").SemanticToken[] | undefined> | undefined;
|
|
@@ -1039,7 +1052,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1039
1052
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
1040
1053
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
1041
1054
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
1042
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
1055
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
1043
1056
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
1044
1057
|
lastChange: {
|
|
1045
1058
|
range: vscode.Range;
|
|
@@ -1108,6 +1121,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1108
1121
|
};
|
|
1109
1122
|
languageServiceHost: import("@volar/language-service").LanguageServiceHost;
|
|
1110
1123
|
getLanguageService: () => {
|
|
1124
|
+
triggerCharacters: string[];
|
|
1111
1125
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
1112
1126
|
ch: string;
|
|
1113
1127
|
position: vscode.Position;
|
|
@@ -1115,7 +1129,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1115
1129
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
1116
1130
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
1117
1131
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
1118
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
1132
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
1119
1133
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
1120
1134
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
1121
1135
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -1124,7 +1138,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1124
1138
|
findDefinition: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
1125
1139
|
findTypeDefinition: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
1126
1140
|
findImplementations: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
1127
|
-
prepareRename: (uri: string, position: vscode.Position) => Promise<NonNullable<vscode.
|
|
1141
|
+
prepareRename: (uri: string, position: vscode.Position) => Promise<NonNullable<vscode.Range | vscode.ResponseError<void> | null | undefined> | undefined>;
|
|
1128
1142
|
doRename: (uri: string, position: vscode.Position, newName: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
1129
1143
|
getEditsForFileRename: (oldUri: string, newUri: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
1130
1144
|
getSemanticTokens: (uri: string, range: vscode.Range | undefined, legend: vscode.SemanticTokensLegend, cancelToken: vscode.CancellationToken, reportProgress?: ((tokens: import("@volar/language-service").SemanticToken[]) => void) | undefined) => Promise<import("@volar/language-service").SemanticToken[] | undefined> | undefined;
|
|
@@ -1138,7 +1152,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1138
1152
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
1139
1153
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
1140
1154
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
1141
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
1155
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
1142
1156
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
1143
1157
|
lastChange: {
|
|
1144
1158
|
range: vscode.Range;
|
|
@@ -1157,6 +1171,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1157
1171
|
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
1158
1172
|
};
|
|
1159
1173
|
getLanguageServiceDontCreate: () => {
|
|
1174
|
+
triggerCharacters: string[];
|
|
1160
1175
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
1161
1176
|
ch: string;
|
|
1162
1177
|
position: vscode.Position;
|
|
@@ -1164,7 +1179,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1164
1179
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
1165
1180
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
1166
1181
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
1167
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
1182
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
1168
1183
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
1169
1184
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
1170
1185
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -1173,7 +1188,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1173
1188
|
findDefinition: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
1174
1189
|
findTypeDefinition: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
1175
1190
|
findImplementations: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
1176
|
-
prepareRename: (uri: string, position: vscode.Position) => Promise<NonNullable<vscode.
|
|
1191
|
+
prepareRename: (uri: string, position: vscode.Position) => Promise<NonNullable<vscode.Range | vscode.ResponseError<void> | null | undefined> | undefined>;
|
|
1177
1192
|
doRename: (uri: string, position: vscode.Position, newName: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
1178
1193
|
getEditsForFileRename: (oldUri: string, newUri: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
1179
1194
|
getSemanticTokens: (uri: string, range: vscode.Range | undefined, legend: vscode.SemanticTokensLegend, cancelToken: vscode.CancellationToken, reportProgress?: ((tokens: import("@volar/language-service").SemanticToken[]) => void) | undefined) => Promise<import("@volar/language-service").SemanticToken[] | undefined> | undefined;
|
|
@@ -1187,7 +1202,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1187
1202
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
1188
1203
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
1189
1204
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
1190
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
1205
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
1191
1206
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
1192
1207
|
lastChange: {
|
|
1193
1208
|
range: vscode.Range;
|
|
@@ -1255,6 +1270,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1255
1270
|
};
|
|
1256
1271
|
languageServiceHost: import("@volar/language-service").LanguageServiceHost;
|
|
1257
1272
|
getLanguageService: () => {
|
|
1273
|
+
triggerCharacters: string[];
|
|
1258
1274
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
1259
1275
|
ch: string;
|
|
1260
1276
|
position: vscode.Position;
|
|
@@ -1262,7 +1278,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1262
1278
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
1263
1279
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
1264
1280
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
1265
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
1281
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
1266
1282
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
1267
1283
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
1268
1284
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -1271,7 +1287,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1271
1287
|
findDefinition: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
1272
1288
|
findTypeDefinition: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
1273
1289
|
findImplementations: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
1274
|
-
prepareRename: (uri: string, position: vscode.Position) => Promise<NonNullable<vscode.
|
|
1290
|
+
prepareRename: (uri: string, position: vscode.Position) => Promise<NonNullable<vscode.Range | vscode.ResponseError<void> | null | undefined> | undefined>;
|
|
1275
1291
|
doRename: (uri: string, position: vscode.Position, newName: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
1276
1292
|
getEditsForFileRename: (oldUri: string, newUri: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
1277
1293
|
getSemanticTokens: (uri: string, range: vscode.Range | undefined, legend: vscode.SemanticTokensLegend, cancelToken: vscode.CancellationToken, reportProgress?: ((tokens: import("@volar/language-service").SemanticToken[]) => void) | undefined) => Promise<import("@volar/language-service").SemanticToken[] | undefined> | undefined;
|
|
@@ -1285,7 +1301,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1285
1301
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
1286
1302
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
1287
1303
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
1288
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
1304
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
1289
1305
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
1290
1306
|
lastChange: {
|
|
1291
1307
|
range: vscode.Range;
|
|
@@ -1304,6 +1320,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1304
1320
|
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
1305
1321
|
};
|
|
1306
1322
|
getLanguageServiceDontCreate: () => {
|
|
1323
|
+
triggerCharacters: string[];
|
|
1307
1324
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
1308
1325
|
ch: string;
|
|
1309
1326
|
position: vscode.Position;
|
|
@@ -1311,7 +1328,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1311
1328
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
1312
1329
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
1313
1330
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
1314
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
1331
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
1315
1332
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
1316
1333
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
1317
1334
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -1320,7 +1337,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1320
1337
|
findDefinition: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
1321
1338
|
findTypeDefinition: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
1322
1339
|
findImplementations: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
1323
|
-
prepareRename: (uri: string, position: vscode.Position) => Promise<NonNullable<vscode.
|
|
1340
|
+
prepareRename: (uri: string, position: vscode.Position) => Promise<NonNullable<vscode.Range | vscode.ResponseError<void> | null | undefined> | undefined>;
|
|
1324
1341
|
doRename: (uri: string, position: vscode.Position, newName: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
1325
1342
|
getEditsForFileRename: (oldUri: string, newUri: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
1326
1343
|
getSemanticTokens: (uri: string, range: vscode.Range | undefined, legend: vscode.SemanticTokensLegend, cancelToken: vscode.CancellationToken, reportProgress?: ((tokens: import("@volar/language-service").SemanticToken[]) => void) | undefined) => Promise<import("@volar/language-service").SemanticToken[] | undefined> | undefined;
|
|
@@ -1334,7 +1351,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1334
1351
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
1335
1352
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
1336
1353
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
1337
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
1354
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
1338
1355
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
1339
1356
|
lastChange: {
|
|
1340
1357
|
range: vscode.Range;
|
|
@@ -1407,6 +1424,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1407
1424
|
};
|
|
1408
1425
|
languageServiceHost: import("@volar/language-service").LanguageServiceHost;
|
|
1409
1426
|
getLanguageService: () => {
|
|
1427
|
+
triggerCharacters: string[];
|
|
1410
1428
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
1411
1429
|
ch: string;
|
|
1412
1430
|
position: vscode.Position;
|
|
@@ -1414,7 +1432,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1414
1432
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
1415
1433
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
1416
1434
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
1417
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
1435
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
1418
1436
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
1419
1437
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
1420
1438
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -1423,7 +1441,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1423
1441
|
findDefinition: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
1424
1442
|
findTypeDefinition: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
1425
1443
|
findImplementations: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
1426
|
-
prepareRename: (uri: string, position: vscode.Position) => Promise<NonNullable<vscode.
|
|
1444
|
+
prepareRename: (uri: string, position: vscode.Position) => Promise<NonNullable<vscode.Range | vscode.ResponseError<void> | null | undefined> | undefined>;
|
|
1427
1445
|
doRename: (uri: string, position: vscode.Position, newName: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
1428
1446
|
getEditsForFileRename: (oldUri: string, newUri: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
1429
1447
|
getSemanticTokens: (uri: string, range: vscode.Range | undefined, legend: vscode.SemanticTokensLegend, cancelToken: vscode.CancellationToken, reportProgress?: ((tokens: import("@volar/language-service").SemanticToken[]) => void) | undefined) => Promise<import("@volar/language-service").SemanticToken[] | undefined> | undefined;
|
|
@@ -1437,7 +1455,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1437
1455
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
1438
1456
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
1439
1457
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
1440
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
1458
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
1441
1459
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
1442
1460
|
lastChange: {
|
|
1443
1461
|
range: vscode.Range;
|
|
@@ -1456,6 +1474,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1456
1474
|
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
1457
1475
|
};
|
|
1458
1476
|
getLanguageServiceDontCreate: () => {
|
|
1477
|
+
triggerCharacters: string[];
|
|
1459
1478
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
1460
1479
|
ch: string;
|
|
1461
1480
|
position: vscode.Position;
|
|
@@ -1463,7 +1482,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1463
1482
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
1464
1483
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
1465
1484
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
1466
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
1485
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
1467
1486
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
1468
1487
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
1469
1488
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -1472,7 +1491,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1472
1491
|
findDefinition: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
1473
1492
|
findTypeDefinition: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
1474
1493
|
findImplementations: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
1475
|
-
prepareRename: (uri: string, position: vscode.Position) => Promise<NonNullable<vscode.
|
|
1494
|
+
prepareRename: (uri: string, position: vscode.Position) => Promise<NonNullable<vscode.Range | vscode.ResponseError<void> | null | undefined> | undefined>;
|
|
1476
1495
|
doRename: (uri: string, position: vscode.Position, newName: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
1477
1496
|
getEditsForFileRename: (oldUri: string, newUri: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
1478
1497
|
getSemanticTokens: (uri: string, range: vscode.Range | undefined, legend: vscode.SemanticTokensLegend, cancelToken: vscode.CancellationToken, reportProgress?: ((tokens: import("@volar/language-service").SemanticToken[]) => void) | undefined) => Promise<import("@volar/language-service").SemanticToken[] | undefined> | undefined;
|
|
@@ -1486,7 +1505,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1486
1505
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
1487
1506
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
1488
1507
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
1489
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
1508
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
1490
1509
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
1491
1510
|
lastChange: {
|
|
1492
1511
|
range: vscode.Range;
|
|
@@ -1556,6 +1575,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1556
1575
|
};
|
|
1557
1576
|
languageServiceHost: import("@volar/language-service").LanguageServiceHost;
|
|
1558
1577
|
getLanguageService: () => {
|
|
1578
|
+
triggerCharacters: string[];
|
|
1559
1579
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
1560
1580
|
ch: string;
|
|
1561
1581
|
position: vscode.Position;
|
|
@@ -1563,7 +1583,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1563
1583
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
1564
1584
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
1565
1585
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
1566
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
1586
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
1567
1587
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
1568
1588
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
1569
1589
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -1572,7 +1592,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1572
1592
|
findDefinition: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
1573
1593
|
findTypeDefinition: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
1574
1594
|
findImplementations: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
1575
|
-
prepareRename: (uri: string, position: vscode.Position) => Promise<NonNullable<vscode.
|
|
1595
|
+
prepareRename: (uri: string, position: vscode.Position) => Promise<NonNullable<vscode.Range | vscode.ResponseError<void> | null | undefined> | undefined>;
|
|
1576
1596
|
doRename: (uri: string, position: vscode.Position, newName: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
1577
1597
|
getEditsForFileRename: (oldUri: string, newUri: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
1578
1598
|
getSemanticTokens: (uri: string, range: vscode.Range | undefined, legend: vscode.SemanticTokensLegend, cancelToken: vscode.CancellationToken, reportProgress?: ((tokens: import("@volar/language-service").SemanticToken[]) => void) | undefined) => Promise<import("@volar/language-service").SemanticToken[] | undefined> | undefined;
|
|
@@ -1586,7 +1606,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1586
1606
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
1587
1607
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
1588
1608
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
1589
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
1609
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
1590
1610
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
1591
1611
|
lastChange: {
|
|
1592
1612
|
range: vscode.Range;
|
|
@@ -1605,6 +1625,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1605
1625
|
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
1606
1626
|
};
|
|
1607
1627
|
getLanguageServiceDontCreate: () => {
|
|
1628
|
+
triggerCharacters: string[];
|
|
1608
1629
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
1609
1630
|
ch: string;
|
|
1610
1631
|
position: vscode.Position;
|
|
@@ -1612,7 +1633,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1612
1633
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
1613
1634
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
1614
1635
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
1615
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
1636
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
1616
1637
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
1617
1638
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
1618
1639
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -1621,7 +1642,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1621
1642
|
findDefinition: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
1622
1643
|
findTypeDefinition: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
1623
1644
|
findImplementations: (uri: string, position: vscode.Position) => Promise<vscode.LocationLink[] | undefined>;
|
|
1624
|
-
prepareRename: (uri: string, position: vscode.Position) => Promise<NonNullable<vscode.
|
|
1645
|
+
prepareRename: (uri: string, position: vscode.Position) => Promise<NonNullable<vscode.Range | vscode.ResponseError<void> | null | undefined> | undefined>;
|
|
1625
1646
|
doRename: (uri: string, position: vscode.Position, newName: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
1626
1647
|
getEditsForFileRename: (oldUri: string, newUri: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
1627
1648
|
getSemanticTokens: (uri: string, range: vscode.Range | undefined, legend: vscode.SemanticTokensLegend, cancelToken: vscode.CancellationToken, reportProgress?: ((tokens: import("@volar/language-service").SemanticToken[]) => void) | undefined) => Promise<import("@volar/language-service").SemanticToken[] | undefined> | undefined;
|
|
@@ -1635,7 +1656,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1635
1656
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
1636
1657
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
1637
1658
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
1638
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
1659
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
1639
1660
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
1640
1661
|
lastChange: {
|
|
1641
1662
|
range: vscode.Range;
|