@volar/language-server 1.2.0-alpha.17 → 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.
- package/out/common/project.d.ts +7 -5
- package/out/common/workspace.d.ts +63 -45
- package/out/common/workspaces.d.ts +77 -55
- package/package.json +5 -5
|
@@ -25,7 +25,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
25
25
|
projects: {
|
|
26
26
|
clear: () => void;
|
|
27
27
|
values: () => IterableIterator<Promise<{
|
|
28
|
-
tsConfig:
|
|
28
|
+
tsConfig: import("typesafe-path").PosixPath | ts.CompilerOptions;
|
|
29
29
|
scripts: {
|
|
30
30
|
clear: () => void;
|
|
31
31
|
values: () => IterableIterator<{
|
|
@@ -70,6 +70,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
70
70
|
};
|
|
71
71
|
languageServiceHost: import("@volar/language-service").LanguageServiceHost;
|
|
72
72
|
getLanguageService: () => {
|
|
73
|
+
triggerCharacters: string[];
|
|
73
74
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
74
75
|
ch: string;
|
|
75
76
|
position: vscode.Position;
|
|
@@ -77,7 +78,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
77
78
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
78
79
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
79
80
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
80
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
81
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
81
82
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
82
83
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
83
84
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -100,7 +101,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
100
101
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
101
102
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
102
103
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
103
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
104
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
104
105
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
105
106
|
lastChange: {
|
|
106
107
|
range: vscode.Range;
|
|
@@ -119,6 +120,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
119
120
|
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
120
121
|
};
|
|
121
122
|
getLanguageServiceDontCreate: () => {
|
|
123
|
+
triggerCharacters: string[];
|
|
122
124
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
123
125
|
ch: string;
|
|
124
126
|
position: vscode.Position;
|
|
@@ -126,7 +128,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
126
128
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
127
129
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
128
130
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
129
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
131
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
130
132
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
131
133
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
132
134
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -149,7 +151,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
149
151
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
150
152
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
151
153
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
152
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
154
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
153
155
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
154
156
|
lastChange: {
|
|
155
157
|
range: vscode.Range;
|
|
@@ -173,7 +175,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
173
175
|
}>>;
|
|
174
176
|
uriDelete: (_uri: string) => boolean;
|
|
175
177
|
uriGet: (_uri: string) => Promise<{
|
|
176
|
-
tsConfig:
|
|
178
|
+
tsConfig: import("typesafe-path").PosixPath | ts.CompilerOptions;
|
|
177
179
|
scripts: {
|
|
178
180
|
clear: () => void;
|
|
179
181
|
values: () => IterableIterator<{
|
|
@@ -218,6 +220,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
218
220
|
};
|
|
219
221
|
languageServiceHost: import("@volar/language-service").LanguageServiceHost;
|
|
220
222
|
getLanguageService: () => {
|
|
223
|
+
triggerCharacters: string[];
|
|
221
224
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
222
225
|
ch: string;
|
|
223
226
|
position: vscode.Position;
|
|
@@ -225,7 +228,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
225
228
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
226
229
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
227
230
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
228
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
231
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
229
232
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
230
233
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
231
234
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -248,7 +251,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
248
251
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
249
252
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
250
253
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
251
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
254
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
252
255
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
253
256
|
lastChange: {
|
|
254
257
|
range: vscode.Range;
|
|
@@ -267,6 +270,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
267
270
|
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
268
271
|
};
|
|
269
272
|
getLanguageServiceDontCreate: () => {
|
|
273
|
+
triggerCharacters: string[];
|
|
270
274
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
271
275
|
ch: string;
|
|
272
276
|
position: vscode.Position;
|
|
@@ -274,7 +278,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
274
278
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
275
279
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
276
280
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
277
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
281
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
278
282
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
279
283
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
280
284
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -297,7 +301,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
297
301
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
298
302
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
299
303
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
300
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
304
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
301
305
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
302
306
|
lastChange: {
|
|
303
307
|
range: vscode.Range;
|
|
@@ -321,7 +325,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
321
325
|
}> | undefined;
|
|
322
326
|
uriHas: (_uri: string) => boolean;
|
|
323
327
|
uriSet: (_uri: string, item: Promise<{
|
|
324
|
-
tsConfig:
|
|
328
|
+
tsConfig: import("typesafe-path").PosixPath | ts.CompilerOptions;
|
|
325
329
|
scripts: {
|
|
326
330
|
clear: () => void;
|
|
327
331
|
values: () => IterableIterator<{
|
|
@@ -366,6 +370,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
366
370
|
};
|
|
367
371
|
languageServiceHost: import("@volar/language-service").LanguageServiceHost;
|
|
368
372
|
getLanguageService: () => {
|
|
373
|
+
triggerCharacters: string[];
|
|
369
374
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
370
375
|
ch: string;
|
|
371
376
|
position: vscode.Position;
|
|
@@ -373,7 +378,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
373
378
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
374
379
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
375
380
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
376
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
381
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
377
382
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
378
383
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
379
384
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -396,7 +401,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
396
401
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
397
402
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
398
403
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
399
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
404
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
400
405
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
401
406
|
lastChange: {
|
|
402
407
|
range: vscode.Range;
|
|
@@ -415,6 +420,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
415
420
|
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
416
421
|
};
|
|
417
422
|
getLanguageServiceDontCreate: () => {
|
|
423
|
+
triggerCharacters: string[];
|
|
418
424
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
419
425
|
ch: string;
|
|
420
426
|
position: vscode.Position;
|
|
@@ -422,7 +428,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
422
428
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
423
429
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
424
430
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
425
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
431
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
426
432
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
427
433
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
428
434
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -445,7 +451,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
445
451
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
446
452
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
447
453
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
448
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
454
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
449
455
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
450
456
|
lastChange: {
|
|
451
457
|
range: vscode.Range;
|
|
@@ -469,7 +475,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
469
475
|
}>) => void;
|
|
470
476
|
pathDelete: (path: string) => boolean;
|
|
471
477
|
pathGet: (path: string) => Promise<{
|
|
472
|
-
tsConfig:
|
|
478
|
+
tsConfig: import("typesafe-path").PosixPath | ts.CompilerOptions;
|
|
473
479
|
scripts: {
|
|
474
480
|
clear: () => void;
|
|
475
481
|
values: () => IterableIterator<{
|
|
@@ -514,6 +520,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
514
520
|
};
|
|
515
521
|
languageServiceHost: import("@volar/language-service").LanguageServiceHost;
|
|
516
522
|
getLanguageService: () => {
|
|
523
|
+
triggerCharacters: string[];
|
|
517
524
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
518
525
|
ch: string;
|
|
519
526
|
position: vscode.Position;
|
|
@@ -521,7 +528,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
521
528
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
522
529
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
523
530
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
524
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
531
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
525
532
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
526
533
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
527
534
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -544,7 +551,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
544
551
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
545
552
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
546
553
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
547
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
554
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
548
555
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
549
556
|
lastChange: {
|
|
550
557
|
range: vscode.Range;
|
|
@@ -563,6 +570,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
563
570
|
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
564
571
|
};
|
|
565
572
|
getLanguageServiceDontCreate: () => {
|
|
573
|
+
triggerCharacters: string[];
|
|
566
574
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
567
575
|
ch: string;
|
|
568
576
|
position: vscode.Position;
|
|
@@ -570,7 +578,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
570
578
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
571
579
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
572
580
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
573
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
581
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
574
582
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
575
583
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
576
584
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -593,7 +601,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
593
601
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
594
602
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
595
603
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
596
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
604
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
597
605
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
598
606
|
lastChange: {
|
|
599
607
|
range: vscode.Range;
|
|
@@ -616,7 +624,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
616
624
|
dispose: () => void;
|
|
617
625
|
}> | undefined;
|
|
618
626
|
pathHas: (path: string) => Promise<{
|
|
619
|
-
tsConfig:
|
|
627
|
+
tsConfig: import("typesafe-path").PosixPath | ts.CompilerOptions;
|
|
620
628
|
scripts: {
|
|
621
629
|
clear: () => void;
|
|
622
630
|
values: () => IterableIterator<{
|
|
@@ -661,6 +669,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
661
669
|
};
|
|
662
670
|
languageServiceHost: import("@volar/language-service").LanguageServiceHost;
|
|
663
671
|
getLanguageService: () => {
|
|
672
|
+
triggerCharacters: string[];
|
|
664
673
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
665
674
|
ch: string;
|
|
666
675
|
position: vscode.Position;
|
|
@@ -668,7 +677,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
668
677
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
669
678
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
670
679
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
671
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
680
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
672
681
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
673
682
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
674
683
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -691,7 +700,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
691
700
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
692
701
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
693
702
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
694
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
703
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
695
704
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
696
705
|
lastChange: {
|
|
697
706
|
range: vscode.Range;
|
|
@@ -710,6 +719,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
710
719
|
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
711
720
|
};
|
|
712
721
|
getLanguageServiceDontCreate: () => {
|
|
722
|
+
triggerCharacters: string[];
|
|
713
723
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
714
724
|
ch: string;
|
|
715
725
|
position: vscode.Position;
|
|
@@ -717,7 +727,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
717
727
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
718
728
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
719
729
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
720
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
730
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
721
731
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
722
732
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
723
733
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -740,7 +750,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
740
750
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
741
751
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
742
752
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
743
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
753
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
744
754
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
745
755
|
lastChange: {
|
|
746
756
|
range: vscode.Range;
|
|
@@ -763,7 +773,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
763
773
|
dispose: () => void;
|
|
764
774
|
}> | undefined;
|
|
765
775
|
pathSet: (path: string, item: Promise<{
|
|
766
|
-
tsConfig:
|
|
776
|
+
tsConfig: import("typesafe-path").PosixPath | ts.CompilerOptions;
|
|
767
777
|
scripts: {
|
|
768
778
|
clear: () => void;
|
|
769
779
|
values: () => IterableIterator<{
|
|
@@ -808,6 +818,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
808
818
|
};
|
|
809
819
|
languageServiceHost: import("@volar/language-service").LanguageServiceHost;
|
|
810
820
|
getLanguageService: () => {
|
|
821
|
+
triggerCharacters: string[];
|
|
811
822
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
812
823
|
ch: string;
|
|
813
824
|
position: vscode.Position;
|
|
@@ -815,7 +826,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
815
826
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
816
827
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
817
828
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
818
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
829
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
819
830
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
820
831
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
821
832
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -838,7 +849,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
838
849
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
839
850
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
840
851
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
841
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
852
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
842
853
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
843
854
|
lastChange: {
|
|
844
855
|
range: vscode.Range;
|
|
@@ -857,6 +868,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
857
868
|
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
858
869
|
};
|
|
859
870
|
getLanguageServiceDontCreate: () => {
|
|
871
|
+
triggerCharacters: string[];
|
|
860
872
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
861
873
|
ch: string;
|
|
862
874
|
position: vscode.Position;
|
|
@@ -864,7 +876,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
864
876
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
865
877
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
866
878
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
867
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
879
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
868
880
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
869
881
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
870
882
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -887,7 +899,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
887
899
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
888
900
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
889
901
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
890
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
902
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
891
903
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
892
904
|
lastChange: {
|
|
893
905
|
range: vscode.Range;
|
|
@@ -914,7 +926,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
914
926
|
getProjectAndTsConfig: (uri: string) => Promise<{
|
|
915
927
|
tsconfig: string;
|
|
916
928
|
project: {
|
|
917
|
-
tsConfig:
|
|
929
|
+
tsConfig: import("typesafe-path").PosixPath | ts.CompilerOptions;
|
|
918
930
|
scripts: {
|
|
919
931
|
clear: () => void;
|
|
920
932
|
values: () => IterableIterator<{
|
|
@@ -959,6 +971,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
959
971
|
};
|
|
960
972
|
languageServiceHost: import("@volar/language-service").LanguageServiceHost;
|
|
961
973
|
getLanguageService: () => {
|
|
974
|
+
triggerCharacters: string[];
|
|
962
975
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
963
976
|
ch: string;
|
|
964
977
|
position: vscode.Position;
|
|
@@ -966,7 +979,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
966
979
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
967
980
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
968
981
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
969
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
982
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
970
983
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
971
984
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
972
985
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -989,7 +1002,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
989
1002
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
990
1003
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
991
1004
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
992
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
1005
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
993
1006
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
994
1007
|
lastChange: {
|
|
995
1008
|
range: vscode.Range;
|
|
@@ -1008,6 +1021,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1008
1021
|
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
1009
1022
|
};
|
|
1010
1023
|
getLanguageServiceDontCreate: () => {
|
|
1024
|
+
triggerCharacters: string[];
|
|
1011
1025
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
1012
1026
|
ch: string;
|
|
1013
1027
|
position: vscode.Position;
|
|
@@ -1015,7 +1029,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1015
1029
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
1016
1030
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
1017
1031
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
1018
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
1032
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
1019
1033
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
1020
1034
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
1021
1035
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -1038,7 +1052,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1038
1052
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
1039
1053
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
1040
1054
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
1041
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
1055
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
1042
1056
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
1043
1057
|
lastChange: {
|
|
1044
1058
|
range: vscode.Range;
|
|
@@ -1062,7 +1076,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1062
1076
|
} | undefined;
|
|
1063
1077
|
} | undefined>;
|
|
1064
1078
|
getInferredProject: () => Promise<{
|
|
1065
|
-
tsConfig:
|
|
1079
|
+
tsConfig: import("typesafe-path").PosixPath | ts.CompilerOptions;
|
|
1066
1080
|
scripts: {
|
|
1067
1081
|
clear: () => void;
|
|
1068
1082
|
values: () => IterableIterator<{
|
|
@@ -1107,6 +1121,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1107
1121
|
};
|
|
1108
1122
|
languageServiceHost: import("@volar/language-service").LanguageServiceHost;
|
|
1109
1123
|
getLanguageService: () => {
|
|
1124
|
+
triggerCharacters: string[];
|
|
1110
1125
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
1111
1126
|
ch: string;
|
|
1112
1127
|
position: vscode.Position;
|
|
@@ -1114,7 +1129,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1114
1129
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
1115
1130
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
1116
1131
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
1117
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
1132
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
1118
1133
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
1119
1134
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
1120
1135
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -1137,7 +1152,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1137
1152
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
1138
1153
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
1139
1154
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
1140
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
1155
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
1141
1156
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
1142
1157
|
lastChange: {
|
|
1143
1158
|
range: vscode.Range;
|
|
@@ -1156,6 +1171,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1156
1171
|
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
1157
1172
|
};
|
|
1158
1173
|
getLanguageServiceDontCreate: () => {
|
|
1174
|
+
triggerCharacters: string[];
|
|
1159
1175
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
1160
1176
|
ch: string;
|
|
1161
1177
|
position: vscode.Position;
|
|
@@ -1163,7 +1179,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1163
1179
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
1164
1180
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
1165
1181
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
1166
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
1182
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
1167
1183
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
1168
1184
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
1169
1185
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -1186,7 +1202,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1186
1202
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
1187
1203
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
1188
1204
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
1189
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
1205
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
1190
1206
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
1191
1207
|
lastChange: {
|
|
1192
1208
|
range: vscode.Range;
|
|
@@ -1209,7 +1225,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1209
1225
|
dispose: () => void;
|
|
1210
1226
|
}>;
|
|
1211
1227
|
getInferredProjectDontCreate: () => Promise<{
|
|
1212
|
-
tsConfig:
|
|
1228
|
+
tsConfig: import("typesafe-path").PosixPath | ts.CompilerOptions;
|
|
1213
1229
|
scripts: {
|
|
1214
1230
|
clear: () => void;
|
|
1215
1231
|
values: () => IterableIterator<{
|
|
@@ -1254,6 +1270,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1254
1270
|
};
|
|
1255
1271
|
languageServiceHost: import("@volar/language-service").LanguageServiceHost;
|
|
1256
1272
|
getLanguageService: () => {
|
|
1273
|
+
triggerCharacters: string[];
|
|
1257
1274
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
1258
1275
|
ch: string;
|
|
1259
1276
|
position: vscode.Position;
|
|
@@ -1261,7 +1278,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1261
1278
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
1262
1279
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
1263
1280
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
1264
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
1281
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
1265
1282
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
1266
1283
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
1267
1284
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -1284,7 +1301,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1284
1301
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
1285
1302
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
1286
1303
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
1287
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
1304
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
1288
1305
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
1289
1306
|
lastChange: {
|
|
1290
1307
|
range: vscode.Range;
|
|
@@ -1303,6 +1320,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1303
1320
|
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
1304
1321
|
};
|
|
1305
1322
|
getLanguageServiceDontCreate: () => {
|
|
1323
|
+
triggerCharacters: string[];
|
|
1306
1324
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
1307
1325
|
ch: string;
|
|
1308
1326
|
position: vscode.Position;
|
|
@@ -1310,7 +1328,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1310
1328
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
1311
1329
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
1312
1330
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
1313
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
1331
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
1314
1332
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
1315
1333
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
1316
1334
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -1333,7 +1351,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1333
1351
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
1334
1352
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
1335
1353
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
1336
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
1354
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
1337
1355
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
1338
1356
|
lastChange: {
|
|
1339
1357
|
range: vscode.Range;
|
|
@@ -1361,7 +1379,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1361
1379
|
getProject: (uri: string) => Promise<{
|
|
1362
1380
|
tsconfig: string;
|
|
1363
1381
|
project: {
|
|
1364
|
-
tsConfig:
|
|
1382
|
+
tsConfig: import("typesafe-path").PosixPath | ts.CompilerOptions;
|
|
1365
1383
|
scripts: {
|
|
1366
1384
|
clear: () => void;
|
|
1367
1385
|
values: () => IterableIterator<{
|
|
@@ -1406,6 +1424,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1406
1424
|
};
|
|
1407
1425
|
languageServiceHost: import("@volar/language-service").LanguageServiceHost;
|
|
1408
1426
|
getLanguageService: () => {
|
|
1427
|
+
triggerCharacters: string[];
|
|
1409
1428
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
1410
1429
|
ch: string;
|
|
1411
1430
|
position: vscode.Position;
|
|
@@ -1413,7 +1432,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1413
1432
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
1414
1433
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
1415
1434
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
1416
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
1435
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
1417
1436
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
1418
1437
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
1419
1438
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -1436,7 +1455,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1436
1455
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
1437
1456
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
1438
1457
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
1439
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
1458
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
1440
1459
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
1441
1460
|
lastChange: {
|
|
1442
1461
|
range: vscode.Range;
|
|
@@ -1455,6 +1474,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1455
1474
|
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
1456
1475
|
};
|
|
1457
1476
|
getLanguageServiceDontCreate: () => {
|
|
1477
|
+
triggerCharacters: string[];
|
|
1458
1478
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
1459
1479
|
ch: string;
|
|
1460
1480
|
position: vscode.Position;
|
|
@@ -1462,7 +1482,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1462
1482
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
1463
1483
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
1464
1484
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
1465
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
1485
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
1466
1486
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
1467
1487
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
1468
1488
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -1485,7 +1505,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1485
1505
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
1486
1506
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
1487
1507
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
1488
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
1508
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
1489
1509
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
1490
1510
|
lastChange: {
|
|
1491
1511
|
range: vscode.Range;
|
|
@@ -1510,7 +1530,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1510
1530
|
} | {
|
|
1511
1531
|
tsconfig: undefined;
|
|
1512
1532
|
project: {
|
|
1513
|
-
tsConfig:
|
|
1533
|
+
tsConfig: import("typesafe-path").PosixPath | ts.CompilerOptions;
|
|
1514
1534
|
scripts: {
|
|
1515
1535
|
clear: () => void;
|
|
1516
1536
|
values: () => IterableIterator<{
|
|
@@ -1555,6 +1575,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1555
1575
|
};
|
|
1556
1576
|
languageServiceHost: import("@volar/language-service").LanguageServiceHost;
|
|
1557
1577
|
getLanguageService: () => {
|
|
1578
|
+
triggerCharacters: string[];
|
|
1558
1579
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
1559
1580
|
ch: string;
|
|
1560
1581
|
position: vscode.Position;
|
|
@@ -1562,7 +1583,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1562
1583
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
1563
1584
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
1564
1585
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
1565
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
1586
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
1566
1587
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
1567
1588
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
1568
1589
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -1585,7 +1606,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1585
1606
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
1586
1607
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
1587
1608
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
1588
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
1609
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
1589
1610
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
1590
1611
|
lastChange: {
|
|
1591
1612
|
range: vscode.Range;
|
|
@@ -1604,6 +1625,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1604
1625
|
context: import("@volar/language-service").LanguageServicePluginContext;
|
|
1605
1626
|
};
|
|
1606
1627
|
getLanguageServiceDontCreate: () => {
|
|
1628
|
+
triggerCharacters: string[];
|
|
1607
1629
|
format: (uri: string, options: vscode.FormattingOptions, range?: vscode.Range | undefined, onTypeParams?: {
|
|
1608
1630
|
ch: string;
|
|
1609
1631
|
position: vscode.Position;
|
|
@@ -1611,7 +1633,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1611
1633
|
getFoldingRanges: (uri: string) => Promise<vscode.FoldingRange[] | undefined>;
|
|
1612
1634
|
getSelectionRanges: (uri: string, positions: vscode.Position[]) => Promise<vscode.SelectionRange[] | undefined>;
|
|
1613
1635
|
findLinkedEditingRanges: (uri: string, position: vscode.Position) => Promise<vscode.LinkedEditingRanges | undefined>;
|
|
1614
|
-
findDocumentSymbols: (uri: string) => Promise<vscode.
|
|
1636
|
+
findDocumentSymbols: (uri: string) => Promise<vscode.DocumentSymbol[] | undefined>;
|
|
1615
1637
|
findDocumentColors: (uri: string) => Promise<vscode.ColorInformation[] | undefined>;
|
|
1616
1638
|
getColorPresentations: (uri: string, color: vscode.Color, range: vscode.Range) => Promise<vscode.ColorPresentation[] | undefined>;
|
|
1617
1639
|
doValidation: (uri: string, token?: vscode.CancellationToken | undefined, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
|
|
@@ -1634,7 +1656,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1634
1656
|
doCodeLensResolve: (item: vscode.CodeLens) => Promise<vscode.CodeLens>;
|
|
1635
1657
|
findDocumentHighlights: (uri: string, position: vscode.Position) => Promise<vscode.DocumentHighlight[] | undefined>;
|
|
1636
1658
|
findDocumentLinks: (uri: string) => Promise<vscode.DocumentLink[]>;
|
|
1637
|
-
findWorkspaceSymbols: (query: string) => Promise<vscode.
|
|
1659
|
+
findWorkspaceSymbols: (query: string) => Promise<vscode.WorkspaceSymbol[]>;
|
|
1638
1660
|
doAutoInsert: (uri: string, position: vscode.Position, autoInsertContext: {
|
|
1639
1661
|
lastChange: {
|
|
1640
1662
|
range: vscode.Range;
|