@volar/language-server 1.2.0-alpha.9 → 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 +56 -32
- package/out/common/project.d.ts +6 -4
- package/out/common/server.js +1 -1
- package/out/common/workspace.d.ts +54 -36
- package/out/common/workspaces.d.ts +66 -44
- package/out/protocol.d.ts +5 -3
- package/out/types.d.ts +6 -0
- package/package.json +10 -10
|
@@ -57,6 +57,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
57
57
|
};
|
|
58
58
|
languageServiceHost: import("@volar/language-core").LanguageServiceHost;
|
|
59
59
|
getLanguageService: () => {
|
|
60
|
+
triggerCharacters: string[];
|
|
60
61
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
61
62
|
ch: string;
|
|
62
63
|
position: vscode.Position;
|
|
@@ -64,7 +65,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
64
65
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
65
66
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
66
67
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
67
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
68
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
68
69
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
69
70
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
70
71
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -87,7 +88,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
87
88
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
88
89
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
89
90
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
90
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
91
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
91
92
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
92
93
|
lastChange: {
|
|
93
94
|
range: vscode.Range;
|
|
@@ -106,6 +107,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
106
107
|
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
107
108
|
};
|
|
108
109
|
getLanguageServiceDontCreate: () => {
|
|
110
|
+
triggerCharacters: string[];
|
|
109
111
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
110
112
|
ch: string;
|
|
111
113
|
position: vscode.Position;
|
|
@@ -113,7 +115,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
113
115
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
114
116
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
115
117
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
116
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
118
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
117
119
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
118
120
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
119
121
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -136,7 +138,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
136
138
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
137
139
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
138
140
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
139
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
141
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
140
142
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
141
143
|
lastChange: {
|
|
142
144
|
range: vscode.Range;
|
|
@@ -205,6 +207,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
205
207
|
};
|
|
206
208
|
languageServiceHost: import("@volar/language-core").LanguageServiceHost;
|
|
207
209
|
getLanguageService: () => {
|
|
210
|
+
triggerCharacters: string[];
|
|
208
211
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
209
212
|
ch: string;
|
|
210
213
|
position: vscode.Position;
|
|
@@ -212,7 +215,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
212
215
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
213
216
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
214
217
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
215
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
218
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
216
219
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
217
220
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
218
221
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -235,7 +238,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
235
238
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
236
239
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
237
240
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
238
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
241
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
239
242
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
240
243
|
lastChange: {
|
|
241
244
|
range: vscode.Range;
|
|
@@ -254,6 +257,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
254
257
|
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
255
258
|
};
|
|
256
259
|
getLanguageServiceDontCreate: () => {
|
|
260
|
+
triggerCharacters: string[];
|
|
257
261
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
258
262
|
ch: string;
|
|
259
263
|
position: vscode.Position;
|
|
@@ -261,7 +265,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
261
265
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
262
266
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
263
267
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
264
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
268
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
265
269
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
266
270
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
267
271
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -284,7 +288,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
284
288
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
285
289
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
286
290
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
287
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
291
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
288
292
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
289
293
|
lastChange: {
|
|
290
294
|
range: vscode.Range;
|
|
@@ -353,6 +357,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
353
357
|
};
|
|
354
358
|
languageServiceHost: import("@volar/language-core").LanguageServiceHost;
|
|
355
359
|
getLanguageService: () => {
|
|
360
|
+
triggerCharacters: string[];
|
|
356
361
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
357
362
|
ch: string;
|
|
358
363
|
position: vscode.Position;
|
|
@@ -360,7 +365,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
360
365
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
361
366
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
362
367
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
363
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
368
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
364
369
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
365
370
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
366
371
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -383,7 +388,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
383
388
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
384
389
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
385
390
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
386
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
391
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
387
392
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
388
393
|
lastChange: {
|
|
389
394
|
range: vscode.Range;
|
|
@@ -402,6 +407,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
402
407
|
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
403
408
|
};
|
|
404
409
|
getLanguageServiceDontCreate: () => {
|
|
410
|
+
triggerCharacters: string[];
|
|
405
411
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
406
412
|
ch: string;
|
|
407
413
|
position: vscode.Position;
|
|
@@ -409,7 +415,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
409
415
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
410
416
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
411
417
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
412
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
418
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
413
419
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
414
420
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
415
421
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -432,7 +438,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
432
438
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
433
439
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
434
440
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
435
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
441
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
436
442
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
437
443
|
lastChange: {
|
|
438
444
|
range: vscode.Range;
|
|
@@ -501,6 +507,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
501
507
|
};
|
|
502
508
|
languageServiceHost: import("@volar/language-core").LanguageServiceHost;
|
|
503
509
|
getLanguageService: () => {
|
|
510
|
+
triggerCharacters: string[];
|
|
504
511
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
505
512
|
ch: string;
|
|
506
513
|
position: vscode.Position;
|
|
@@ -508,7 +515,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
508
515
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
509
516
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
510
517
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
511
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
518
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
512
519
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
513
520
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
514
521
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -531,7 +538,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
531
538
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
532
539
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
533
540
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
534
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
541
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
535
542
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
536
543
|
lastChange: {
|
|
537
544
|
range: vscode.Range;
|
|
@@ -550,6 +557,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
550
557
|
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
551
558
|
};
|
|
552
559
|
getLanguageServiceDontCreate: () => {
|
|
560
|
+
triggerCharacters: string[];
|
|
553
561
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
554
562
|
ch: string;
|
|
555
563
|
position: vscode.Position;
|
|
@@ -557,7 +565,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
557
565
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
558
566
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
559
567
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
560
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
568
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
561
569
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
562
570
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
563
571
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -580,7 +588,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
580
588
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
581
589
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
582
590
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
583
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
591
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
584
592
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
585
593
|
lastChange: {
|
|
586
594
|
range: vscode.Range;
|
|
@@ -648,6 +656,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
648
656
|
};
|
|
649
657
|
languageServiceHost: import("@volar/language-core").LanguageServiceHost;
|
|
650
658
|
getLanguageService: () => {
|
|
659
|
+
triggerCharacters: string[];
|
|
651
660
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
652
661
|
ch: string;
|
|
653
662
|
position: vscode.Position;
|
|
@@ -655,7 +664,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
655
664
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
656
665
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
657
666
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
658
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
667
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
659
668
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
660
669
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
661
670
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -678,7 +687,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
678
687
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
679
688
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
680
689
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
681
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
690
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
682
691
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
683
692
|
lastChange: {
|
|
684
693
|
range: vscode.Range;
|
|
@@ -697,6 +706,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
697
706
|
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
698
707
|
};
|
|
699
708
|
getLanguageServiceDontCreate: () => {
|
|
709
|
+
triggerCharacters: string[];
|
|
700
710
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
701
711
|
ch: string;
|
|
702
712
|
position: vscode.Position;
|
|
@@ -704,7 +714,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
704
714
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
705
715
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
706
716
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
707
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
717
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
708
718
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
709
719
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
710
720
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -727,7 +737,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
727
737
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
728
738
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
729
739
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
730
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
740
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
731
741
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
732
742
|
lastChange: {
|
|
733
743
|
range: vscode.Range;
|
|
@@ -795,6 +805,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
795
805
|
};
|
|
796
806
|
languageServiceHost: import("@volar/language-core").LanguageServiceHost;
|
|
797
807
|
getLanguageService: () => {
|
|
808
|
+
triggerCharacters: string[];
|
|
798
809
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
799
810
|
ch: string;
|
|
800
811
|
position: vscode.Position;
|
|
@@ -802,7 +813,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
802
813
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
803
814
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
804
815
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
805
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
816
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
806
817
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
807
818
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
808
819
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -825,7 +836,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
825
836
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
826
837
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
827
838
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
828
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
839
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
829
840
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
830
841
|
lastChange: {
|
|
831
842
|
range: vscode.Range;
|
|
@@ -844,6 +855,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
844
855
|
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
845
856
|
};
|
|
846
857
|
getLanguageServiceDontCreate: () => {
|
|
858
|
+
triggerCharacters: string[];
|
|
847
859
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
848
860
|
ch: string;
|
|
849
861
|
position: vscode.Position;
|
|
@@ -851,7 +863,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
851
863
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
852
864
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
853
865
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
854
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
866
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
855
867
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
856
868
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
857
869
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -874,7 +886,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
874
886
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
875
887
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
876
888
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
877
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
889
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
878
890
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
879
891
|
lastChange: {
|
|
880
892
|
range: vscode.Range;
|
|
@@ -946,6 +958,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
946
958
|
};
|
|
947
959
|
languageServiceHost: import("@volar/language-core").LanguageServiceHost;
|
|
948
960
|
getLanguageService: () => {
|
|
961
|
+
triggerCharacters: string[];
|
|
949
962
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
950
963
|
ch: string;
|
|
951
964
|
position: vscode.Position;
|
|
@@ -953,7 +966,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
953
966
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
954
967
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
955
968
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
956
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
969
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
957
970
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
958
971
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
959
972
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -976,7 +989,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
976
989
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
977
990
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
978
991
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
979
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
992
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
980
993
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
981
994
|
lastChange: {
|
|
982
995
|
range: vscode.Range;
|
|
@@ -995,6 +1008,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
995
1008
|
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
996
1009
|
};
|
|
997
1010
|
getLanguageServiceDontCreate: () => {
|
|
1011
|
+
triggerCharacters: string[];
|
|
998
1012
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
999
1013
|
ch: string;
|
|
1000
1014
|
position: vscode.Position;
|
|
@@ -1002,7 +1016,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
1002
1016
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
1003
1017
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
1004
1018
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
1005
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
1019
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
1006
1020
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
1007
1021
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
1008
1022
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -1025,7 +1039,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
1025
1039
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
1026
1040
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
1027
1041
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
1028
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
1042
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
1029
1043
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
1030
1044
|
lastChange: {
|
|
1031
1045
|
range: vscode.Range;
|
|
@@ -1094,6 +1108,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
1094
1108
|
};
|
|
1095
1109
|
languageServiceHost: import("@volar/language-core").LanguageServiceHost;
|
|
1096
1110
|
getLanguageService: () => {
|
|
1111
|
+
triggerCharacters: string[];
|
|
1097
1112
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
1098
1113
|
ch: string;
|
|
1099
1114
|
position: vscode.Position;
|
|
@@ -1101,7 +1116,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
1101
1116
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
1102
1117
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
1103
1118
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
1104
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
1119
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
1105
1120
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
1106
1121
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
1107
1122
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -1124,7 +1139,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
1124
1139
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
1125
1140
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
1126
1141
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
1127
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
1142
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
1128
1143
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
1129
1144
|
lastChange: {
|
|
1130
1145
|
range: vscode.Range;
|
|
@@ -1143,6 +1158,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
1143
1158
|
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
1144
1159
|
};
|
|
1145
1160
|
getLanguageServiceDontCreate: () => {
|
|
1161
|
+
triggerCharacters: string[];
|
|
1146
1162
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
1147
1163
|
ch: string;
|
|
1148
1164
|
position: vscode.Position;
|
|
@@ -1150,7 +1166,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
1150
1166
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
1151
1167
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
1152
1168
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
1153
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
1169
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
1154
1170
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
1155
1171
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
1156
1172
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -1173,7 +1189,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
1173
1189
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
1174
1190
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
1175
1191
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
1176
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
1192
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
1177
1193
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
1178
1194
|
lastChange: {
|
|
1179
1195
|
range: vscode.Range;
|
|
@@ -1241,6 +1257,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
1241
1257
|
};
|
|
1242
1258
|
languageServiceHost: import("@volar/language-core").LanguageServiceHost;
|
|
1243
1259
|
getLanguageService: () => {
|
|
1260
|
+
triggerCharacters: string[];
|
|
1244
1261
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
1245
1262
|
ch: string;
|
|
1246
1263
|
position: vscode.Position;
|
|
@@ -1248,7 +1265,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
1248
1265
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
1249
1266
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
1250
1267
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
1251
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
1268
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
1252
1269
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
1253
1270
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
1254
1271
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -1271,7 +1288,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
1271
1288
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
1272
1289
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
1273
1290
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
1274
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
1291
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
1275
1292
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
1276
1293
|
lastChange: {
|
|
1277
1294
|
range: vscode.Range;
|
|
@@ -1290,6 +1307,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
1290
1307
|
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
1291
1308
|
};
|
|
1292
1309
|
getLanguageServiceDontCreate: () => {
|
|
1310
|
+
triggerCharacters: string[];
|
|
1293
1311
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
1294
1312
|
ch: string;
|
|
1295
1313
|
position: vscode.Position;
|
|
@@ -1297,7 +1315,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
1297
1315
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
1298
1316
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
1299
1317
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
1300
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
1318
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
1301
1319
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
1302
1320
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
1303
1321
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -1320,7 +1338,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
1320
1338
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
1321
1339
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
1322
1340
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
1323
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
1341
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
1324
1342
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
1325
1343
|
lastChange: {
|
|
1326
1344
|
range: vscode.Range;
|