@volar/language-server 1.6.7 → 1.6.9-patch.1
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/browser/fileSystems.js +9 -1
- package/out/common/features/customFeatures.js +27 -58
- package/out/common/features/languageFeatures.js +6 -2
- package/out/common/project.d.ts +18 -8
- package/out/common/project.js +31 -8
- package/out/common/workspace.d.ts +163 -65
- package/out/common/workspace.js +2 -8
- package/out/common/workspaces.d.ts +200 -80
- package/out/protocol.d.ts +0 -3
- package/out/protocol.js +1 -5
- package/out/types.d.ts +3 -3
- package/package.json +6 -4
|
@@ -27,7 +27,8 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
27
27
|
projects: {
|
|
28
28
|
clear: () => void;
|
|
29
29
|
values: () => IterableIterator<Promise<{
|
|
30
|
-
|
|
30
|
+
readFiles: Set<string>;
|
|
31
|
+
tsConfig: path.PosixPath | ts.CompilerOptions;
|
|
31
32
|
scripts: {
|
|
32
33
|
clear: () => void;
|
|
33
34
|
values: () => IterableIterator<{
|
|
@@ -92,7 +93,12 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
92
93
|
findDefinition: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
93
94
|
findTypeDefinition: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
94
95
|
findImplementations: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
95
|
-
prepareRename: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<NonNullable<vscode.Range |
|
|
96
|
+
prepareRename: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<NonNullable<vscode.Range | {
|
|
97
|
+
range: vscode.Range;
|
|
98
|
+
placeholder: string;
|
|
99
|
+
} | {
|
|
100
|
+
message: string;
|
|
101
|
+
} | null | undefined> | undefined>;
|
|
96
102
|
doRename: (uri: string, position: vscode.Position, newName: string, token?: vscode.CancellationToken | undefined) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
97
103
|
getEditsForFileRename: (oldUri: string, newUri: string, token?: vscode.CancellationToken | undefined) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
98
104
|
getSemanticTokens: (uri: string, range: vscode.Range | undefined, legend: vscode.SemanticTokensLegend, token?: vscode.CancellationToken | undefined, reportProgress?: ((tokens: vscode.SemanticTokens) => void) | undefined) => Promise<vscode.SemanticTokens | undefined>;
|
|
@@ -116,8 +122,8 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
116
122
|
getIncomingCalls(item: vscode.CallHierarchyItem, token: vscode.CancellationToken): Promise<vscode.CallHierarchyIncomingCall[]>;
|
|
117
123
|
getOutgoingCalls(item: vscode.CallHierarchyItem, token: vscode.CancellationToken): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
118
124
|
};
|
|
119
|
-
dispose: () => void
|
|
120
|
-
context: import("@volar/language-service").ServiceContext
|
|
125
|
+
dispose: () => void;
|
|
126
|
+
context: import("@volar/language-service").ServiceContext<any>;
|
|
121
127
|
};
|
|
122
128
|
getLanguageServiceDontCreate: () => {
|
|
123
129
|
triggerCharacters: string[];
|
|
@@ -140,7 +146,12 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
140
146
|
findDefinition: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
141
147
|
findTypeDefinition: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
142
148
|
findImplementations: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
143
|
-
prepareRename: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<NonNullable<vscode.Range |
|
|
149
|
+
prepareRename: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<NonNullable<vscode.Range | {
|
|
150
|
+
range: vscode.Range;
|
|
151
|
+
placeholder: string;
|
|
152
|
+
} | {
|
|
153
|
+
message: string;
|
|
154
|
+
} | null | undefined> | undefined>;
|
|
144
155
|
doRename: (uri: string, position: vscode.Position, newName: string, token?: vscode.CancellationToken | undefined) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
145
156
|
getEditsForFileRename: (oldUri: string, newUri: string, token?: vscode.CancellationToken | undefined) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
146
157
|
getSemanticTokens: (uri: string, range: vscode.Range | undefined, legend: vscode.SemanticTokensLegend, token?: vscode.CancellationToken | undefined, reportProgress?: ((tokens: vscode.SemanticTokens) => void) | undefined) => Promise<vscode.SemanticTokens | undefined>;
|
|
@@ -164,8 +175,8 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
164
175
|
getIncomingCalls(item: vscode.CallHierarchyItem, token: vscode.CancellationToken): Promise<vscode.CallHierarchyIncomingCall[]>;
|
|
165
176
|
getOutgoingCalls(item: vscode.CallHierarchyItem, token: vscode.CancellationToken): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
166
177
|
};
|
|
167
|
-
dispose: () => void
|
|
168
|
-
context: import("@volar/language-service").ServiceContext
|
|
178
|
+
dispose: () => void;
|
|
179
|
+
context: import("@volar/language-service").ServiceContext<any>;
|
|
169
180
|
} | undefined;
|
|
170
181
|
getParsedCommandLine: () => ts.ParsedCommandLine;
|
|
171
182
|
tryAddFile: (fileName: string) => void;
|
|
@@ -173,7 +184,8 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
173
184
|
}>>;
|
|
174
185
|
uriDelete: (_uri: string) => boolean;
|
|
175
186
|
uriGet: (_uri: string) => Promise<{
|
|
176
|
-
|
|
187
|
+
readFiles: Set<string>;
|
|
188
|
+
tsConfig: path.PosixPath | ts.CompilerOptions;
|
|
177
189
|
scripts: {
|
|
178
190
|
clear: () => void;
|
|
179
191
|
values: () => IterableIterator<{
|
|
@@ -238,7 +250,12 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
238
250
|
findDefinition: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
239
251
|
findTypeDefinition: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
240
252
|
findImplementations: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
241
|
-
prepareRename: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<NonNullable<vscode.Range |
|
|
253
|
+
prepareRename: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<NonNullable<vscode.Range | {
|
|
254
|
+
range: vscode.Range;
|
|
255
|
+
placeholder: string;
|
|
256
|
+
} | {
|
|
257
|
+
message: string;
|
|
258
|
+
} | null | undefined> | undefined>;
|
|
242
259
|
doRename: (uri: string, position: vscode.Position, newName: string, token?: vscode.CancellationToken | undefined) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
243
260
|
getEditsForFileRename: (oldUri: string, newUri: string, token?: vscode.CancellationToken | undefined) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
244
261
|
getSemanticTokens: (uri: string, range: vscode.Range | undefined, legend: vscode.SemanticTokensLegend, token?: vscode.CancellationToken | undefined, reportProgress?: ((tokens: vscode.SemanticTokens) => void) | undefined) => Promise<vscode.SemanticTokens | undefined>;
|
|
@@ -262,8 +279,8 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
262
279
|
getIncomingCalls(item: vscode.CallHierarchyItem, token: vscode.CancellationToken): Promise<vscode.CallHierarchyIncomingCall[]>;
|
|
263
280
|
getOutgoingCalls(item: vscode.CallHierarchyItem, token: vscode.CancellationToken): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
264
281
|
};
|
|
265
|
-
dispose: () => void
|
|
266
|
-
context: import("@volar/language-service").ServiceContext
|
|
282
|
+
dispose: () => void;
|
|
283
|
+
context: import("@volar/language-service").ServiceContext<any>;
|
|
267
284
|
};
|
|
268
285
|
getLanguageServiceDontCreate: () => {
|
|
269
286
|
triggerCharacters: string[];
|
|
@@ -286,7 +303,12 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
286
303
|
findDefinition: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
287
304
|
findTypeDefinition: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
288
305
|
findImplementations: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
289
|
-
prepareRename: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<NonNullable<vscode.Range |
|
|
306
|
+
prepareRename: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<NonNullable<vscode.Range | {
|
|
307
|
+
range: vscode.Range;
|
|
308
|
+
placeholder: string;
|
|
309
|
+
} | {
|
|
310
|
+
message: string;
|
|
311
|
+
} | null | undefined> | undefined>;
|
|
290
312
|
doRename: (uri: string, position: vscode.Position, newName: string, token?: vscode.CancellationToken | undefined) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
291
313
|
getEditsForFileRename: (oldUri: string, newUri: string, token?: vscode.CancellationToken | undefined) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
292
314
|
getSemanticTokens: (uri: string, range: vscode.Range | undefined, legend: vscode.SemanticTokensLegend, token?: vscode.CancellationToken | undefined, reportProgress?: ((tokens: vscode.SemanticTokens) => void) | undefined) => Promise<vscode.SemanticTokens | undefined>;
|
|
@@ -310,8 +332,8 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
310
332
|
getIncomingCalls(item: vscode.CallHierarchyItem, token: vscode.CancellationToken): Promise<vscode.CallHierarchyIncomingCall[]>;
|
|
311
333
|
getOutgoingCalls(item: vscode.CallHierarchyItem, token: vscode.CancellationToken): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
312
334
|
};
|
|
313
|
-
dispose: () => void
|
|
314
|
-
context: import("@volar/language-service").ServiceContext
|
|
335
|
+
dispose: () => void;
|
|
336
|
+
context: import("@volar/language-service").ServiceContext<any>;
|
|
315
337
|
} | undefined;
|
|
316
338
|
getParsedCommandLine: () => ts.ParsedCommandLine;
|
|
317
339
|
tryAddFile: (fileName: string) => void;
|
|
@@ -319,7 +341,8 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
319
341
|
}> | undefined;
|
|
320
342
|
uriHas: (_uri: string) => boolean;
|
|
321
343
|
uriSet: (_uri: string, item: Promise<{
|
|
322
|
-
|
|
344
|
+
readFiles: Set<string>;
|
|
345
|
+
tsConfig: path.PosixPath | ts.CompilerOptions;
|
|
323
346
|
scripts: {
|
|
324
347
|
clear: () => void;
|
|
325
348
|
values: () => IterableIterator<{
|
|
@@ -384,7 +407,12 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
384
407
|
findDefinition: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
385
408
|
findTypeDefinition: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
386
409
|
findImplementations: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
387
|
-
prepareRename: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<NonNullable<vscode.Range |
|
|
410
|
+
prepareRename: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<NonNullable<vscode.Range | {
|
|
411
|
+
range: vscode.Range;
|
|
412
|
+
placeholder: string;
|
|
413
|
+
} | {
|
|
414
|
+
message: string;
|
|
415
|
+
} | null | undefined> | undefined>;
|
|
388
416
|
doRename: (uri: string, position: vscode.Position, newName: string, token?: vscode.CancellationToken | undefined) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
389
417
|
getEditsForFileRename: (oldUri: string, newUri: string, token?: vscode.CancellationToken | undefined) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
390
418
|
getSemanticTokens: (uri: string, range: vscode.Range | undefined, legend: vscode.SemanticTokensLegend, token?: vscode.CancellationToken | undefined, reportProgress?: ((tokens: vscode.SemanticTokens) => void) | undefined) => Promise<vscode.SemanticTokens | undefined>;
|
|
@@ -408,8 +436,8 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
408
436
|
getIncomingCalls(item: vscode.CallHierarchyItem, token: vscode.CancellationToken): Promise<vscode.CallHierarchyIncomingCall[]>;
|
|
409
437
|
getOutgoingCalls(item: vscode.CallHierarchyItem, token: vscode.CancellationToken): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
410
438
|
};
|
|
411
|
-
dispose: () => void
|
|
412
|
-
context: import("@volar/language-service").ServiceContext
|
|
439
|
+
dispose: () => void;
|
|
440
|
+
context: import("@volar/language-service").ServiceContext<any>;
|
|
413
441
|
};
|
|
414
442
|
getLanguageServiceDontCreate: () => {
|
|
415
443
|
triggerCharacters: string[];
|
|
@@ -432,7 +460,12 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
432
460
|
findDefinition: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
433
461
|
findTypeDefinition: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
434
462
|
findImplementations: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
435
|
-
prepareRename: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<NonNullable<vscode.Range |
|
|
463
|
+
prepareRename: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<NonNullable<vscode.Range | {
|
|
464
|
+
range: vscode.Range;
|
|
465
|
+
placeholder: string;
|
|
466
|
+
} | {
|
|
467
|
+
message: string;
|
|
468
|
+
} | null | undefined> | undefined>;
|
|
436
469
|
doRename: (uri: string, position: vscode.Position, newName: string, token?: vscode.CancellationToken | undefined) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
437
470
|
getEditsForFileRename: (oldUri: string, newUri: string, token?: vscode.CancellationToken | undefined) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
438
471
|
getSemanticTokens: (uri: string, range: vscode.Range | undefined, legend: vscode.SemanticTokensLegend, token?: vscode.CancellationToken | undefined, reportProgress?: ((tokens: vscode.SemanticTokens) => void) | undefined) => Promise<vscode.SemanticTokens | undefined>;
|
|
@@ -456,8 +489,8 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
456
489
|
getIncomingCalls(item: vscode.CallHierarchyItem, token: vscode.CancellationToken): Promise<vscode.CallHierarchyIncomingCall[]>;
|
|
457
490
|
getOutgoingCalls(item: vscode.CallHierarchyItem, token: vscode.CancellationToken): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
458
491
|
};
|
|
459
|
-
dispose: () => void
|
|
460
|
-
context: import("@volar/language-service").ServiceContext
|
|
492
|
+
dispose: () => void;
|
|
493
|
+
context: import("@volar/language-service").ServiceContext<any>;
|
|
461
494
|
} | undefined;
|
|
462
495
|
getParsedCommandLine: () => ts.ParsedCommandLine;
|
|
463
496
|
tryAddFile: (fileName: string) => void;
|
|
@@ -465,7 +498,8 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
465
498
|
}>) => void;
|
|
466
499
|
pathDelete: (path: string) => boolean;
|
|
467
500
|
pathGet: (path: string) => Promise<{
|
|
468
|
-
|
|
501
|
+
readFiles: Set<string>;
|
|
502
|
+
tsConfig: path.PosixPath | ts.CompilerOptions;
|
|
469
503
|
scripts: {
|
|
470
504
|
clear: () => void;
|
|
471
505
|
values: () => IterableIterator<{
|
|
@@ -530,7 +564,12 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
530
564
|
findDefinition: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
531
565
|
findTypeDefinition: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
532
566
|
findImplementations: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
533
|
-
prepareRename: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<NonNullable<vscode.Range |
|
|
567
|
+
prepareRename: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<NonNullable<vscode.Range | {
|
|
568
|
+
range: vscode.Range;
|
|
569
|
+
placeholder: string;
|
|
570
|
+
} | {
|
|
571
|
+
message: string;
|
|
572
|
+
} | null | undefined> | undefined>;
|
|
534
573
|
doRename: (uri: string, position: vscode.Position, newName: string, token?: vscode.CancellationToken | undefined) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
535
574
|
getEditsForFileRename: (oldUri: string, newUri: string, token?: vscode.CancellationToken | undefined) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
536
575
|
getSemanticTokens: (uri: string, range: vscode.Range | undefined, legend: vscode.SemanticTokensLegend, token?: vscode.CancellationToken | undefined, reportProgress?: ((tokens: vscode.SemanticTokens) => void) | undefined) => Promise<vscode.SemanticTokens | undefined>;
|
|
@@ -554,8 +593,8 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
554
593
|
getIncomingCalls(item: vscode.CallHierarchyItem, token: vscode.CancellationToken): Promise<vscode.CallHierarchyIncomingCall[]>;
|
|
555
594
|
getOutgoingCalls(item: vscode.CallHierarchyItem, token: vscode.CancellationToken): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
556
595
|
};
|
|
557
|
-
dispose: () => void
|
|
558
|
-
context: import("@volar/language-service").ServiceContext
|
|
596
|
+
dispose: () => void;
|
|
597
|
+
context: import("@volar/language-service").ServiceContext<any>;
|
|
559
598
|
};
|
|
560
599
|
getLanguageServiceDontCreate: () => {
|
|
561
600
|
triggerCharacters: string[];
|
|
@@ -578,7 +617,12 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
578
617
|
findDefinition: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
579
618
|
findTypeDefinition: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
580
619
|
findImplementations: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
581
|
-
prepareRename: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<NonNullable<vscode.Range |
|
|
620
|
+
prepareRename: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<NonNullable<vscode.Range | {
|
|
621
|
+
range: vscode.Range;
|
|
622
|
+
placeholder: string;
|
|
623
|
+
} | {
|
|
624
|
+
message: string;
|
|
625
|
+
} | null | undefined> | undefined>;
|
|
582
626
|
doRename: (uri: string, position: vscode.Position, newName: string, token?: vscode.CancellationToken | undefined) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
583
627
|
getEditsForFileRename: (oldUri: string, newUri: string, token?: vscode.CancellationToken | undefined) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
584
628
|
getSemanticTokens: (uri: string, range: vscode.Range | undefined, legend: vscode.SemanticTokensLegend, token?: vscode.CancellationToken | undefined, reportProgress?: ((tokens: vscode.SemanticTokens) => void) | undefined) => Promise<vscode.SemanticTokens | undefined>;
|
|
@@ -602,15 +646,16 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
602
646
|
getIncomingCalls(item: vscode.CallHierarchyItem, token: vscode.CancellationToken): Promise<vscode.CallHierarchyIncomingCall[]>;
|
|
603
647
|
getOutgoingCalls(item: vscode.CallHierarchyItem, token: vscode.CancellationToken): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
604
648
|
};
|
|
605
|
-
dispose: () => void
|
|
606
|
-
context: import("@volar/language-service").ServiceContext
|
|
649
|
+
dispose: () => void;
|
|
650
|
+
context: import("@volar/language-service").ServiceContext<any>;
|
|
607
651
|
} | undefined;
|
|
608
652
|
getParsedCommandLine: () => ts.ParsedCommandLine;
|
|
609
653
|
tryAddFile: (fileName: string) => void;
|
|
610
654
|
dispose: () => void;
|
|
611
655
|
}> | undefined;
|
|
612
656
|
pathHas: (path: string) => Promise<{
|
|
613
|
-
|
|
657
|
+
readFiles: Set<string>;
|
|
658
|
+
tsConfig: path.PosixPath | ts.CompilerOptions;
|
|
614
659
|
scripts: {
|
|
615
660
|
clear: () => void;
|
|
616
661
|
values: () => IterableIterator<{
|
|
@@ -675,7 +720,12 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
675
720
|
findDefinition: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
676
721
|
findTypeDefinition: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
677
722
|
findImplementations: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
678
|
-
prepareRename: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<NonNullable<vscode.Range |
|
|
723
|
+
prepareRename: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<NonNullable<vscode.Range | {
|
|
724
|
+
range: vscode.Range;
|
|
725
|
+
placeholder: string;
|
|
726
|
+
} | {
|
|
727
|
+
message: string;
|
|
728
|
+
} | null | undefined> | undefined>;
|
|
679
729
|
doRename: (uri: string, position: vscode.Position, newName: string, token?: vscode.CancellationToken | undefined) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
680
730
|
getEditsForFileRename: (oldUri: string, newUri: string, token?: vscode.CancellationToken | undefined) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
681
731
|
getSemanticTokens: (uri: string, range: vscode.Range | undefined, legend: vscode.SemanticTokensLegend, token?: vscode.CancellationToken | undefined, reportProgress?: ((tokens: vscode.SemanticTokens) => void) | undefined) => Promise<vscode.SemanticTokens | undefined>;
|
|
@@ -699,8 +749,8 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
699
749
|
getIncomingCalls(item: vscode.CallHierarchyItem, token: vscode.CancellationToken): Promise<vscode.CallHierarchyIncomingCall[]>;
|
|
700
750
|
getOutgoingCalls(item: vscode.CallHierarchyItem, token: vscode.CancellationToken): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
701
751
|
};
|
|
702
|
-
dispose: () => void
|
|
703
|
-
context: import("@volar/language-service").ServiceContext
|
|
752
|
+
dispose: () => void;
|
|
753
|
+
context: import("@volar/language-service").ServiceContext<any>;
|
|
704
754
|
};
|
|
705
755
|
getLanguageServiceDontCreate: () => {
|
|
706
756
|
triggerCharacters: string[];
|
|
@@ -723,7 +773,12 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
723
773
|
findDefinition: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
724
774
|
findTypeDefinition: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
725
775
|
findImplementations: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
726
|
-
prepareRename: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<NonNullable<vscode.Range |
|
|
776
|
+
prepareRename: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<NonNullable<vscode.Range | {
|
|
777
|
+
range: vscode.Range;
|
|
778
|
+
placeholder: string;
|
|
779
|
+
} | {
|
|
780
|
+
message: string;
|
|
781
|
+
} | null | undefined> | undefined>;
|
|
727
782
|
doRename: (uri: string, position: vscode.Position, newName: string, token?: vscode.CancellationToken | undefined) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
728
783
|
getEditsForFileRename: (oldUri: string, newUri: string, token?: vscode.CancellationToken | undefined) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
729
784
|
getSemanticTokens: (uri: string, range: vscode.Range | undefined, legend: vscode.SemanticTokensLegend, token?: vscode.CancellationToken | undefined, reportProgress?: ((tokens: vscode.SemanticTokens) => void) | undefined) => Promise<vscode.SemanticTokens | undefined>;
|
|
@@ -747,15 +802,16 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
747
802
|
getIncomingCalls(item: vscode.CallHierarchyItem, token: vscode.CancellationToken): Promise<vscode.CallHierarchyIncomingCall[]>;
|
|
748
803
|
getOutgoingCalls(item: vscode.CallHierarchyItem, token: vscode.CancellationToken): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
749
804
|
};
|
|
750
|
-
dispose: () => void
|
|
751
|
-
context: import("@volar/language-service").ServiceContext
|
|
805
|
+
dispose: () => void;
|
|
806
|
+
context: import("@volar/language-service").ServiceContext<any>;
|
|
752
807
|
} | undefined;
|
|
753
808
|
getParsedCommandLine: () => ts.ParsedCommandLine;
|
|
754
809
|
tryAddFile: (fileName: string) => void;
|
|
755
810
|
dispose: () => void;
|
|
756
811
|
}> | undefined;
|
|
757
812
|
pathSet: (path: string, item: Promise<{
|
|
758
|
-
|
|
813
|
+
readFiles: Set<string>;
|
|
814
|
+
tsConfig: path.PosixPath | ts.CompilerOptions;
|
|
759
815
|
scripts: {
|
|
760
816
|
clear: () => void;
|
|
761
817
|
values: () => IterableIterator<{
|
|
@@ -820,7 +876,12 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
820
876
|
findDefinition: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
821
877
|
findTypeDefinition: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
822
878
|
findImplementations: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
823
|
-
prepareRename: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<NonNullable<vscode.Range |
|
|
879
|
+
prepareRename: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<NonNullable<vscode.Range | {
|
|
880
|
+
range: vscode.Range;
|
|
881
|
+
placeholder: string;
|
|
882
|
+
} | {
|
|
883
|
+
message: string;
|
|
884
|
+
} | null | undefined> | undefined>;
|
|
824
885
|
doRename: (uri: string, position: vscode.Position, newName: string, token?: vscode.CancellationToken | undefined) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
825
886
|
getEditsForFileRename: (oldUri: string, newUri: string, token?: vscode.CancellationToken | undefined) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
826
887
|
getSemanticTokens: (uri: string, range: vscode.Range | undefined, legend: vscode.SemanticTokensLegend, token?: vscode.CancellationToken | undefined, reportProgress?: ((tokens: vscode.SemanticTokens) => void) | undefined) => Promise<vscode.SemanticTokens | undefined>;
|
|
@@ -844,8 +905,8 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
844
905
|
getIncomingCalls(item: vscode.CallHierarchyItem, token: vscode.CancellationToken): Promise<vscode.CallHierarchyIncomingCall[]>;
|
|
845
906
|
getOutgoingCalls(item: vscode.CallHierarchyItem, token: vscode.CancellationToken): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
846
907
|
};
|
|
847
|
-
dispose: () => void
|
|
848
|
-
context: import("@volar/language-service").ServiceContext
|
|
908
|
+
dispose: () => void;
|
|
909
|
+
context: import("@volar/language-service").ServiceContext<any>;
|
|
849
910
|
};
|
|
850
911
|
getLanguageServiceDontCreate: () => {
|
|
851
912
|
triggerCharacters: string[];
|
|
@@ -868,7 +929,12 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
868
929
|
findDefinition: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
869
930
|
findTypeDefinition: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
870
931
|
findImplementations: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
871
|
-
prepareRename: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<NonNullable<vscode.Range |
|
|
932
|
+
prepareRename: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<NonNullable<vscode.Range | {
|
|
933
|
+
range: vscode.Range;
|
|
934
|
+
placeholder: string;
|
|
935
|
+
} | {
|
|
936
|
+
message: string;
|
|
937
|
+
} | null | undefined> | undefined>;
|
|
872
938
|
doRename: (uri: string, position: vscode.Position, newName: string, token?: vscode.CancellationToken | undefined) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
873
939
|
getEditsForFileRename: (oldUri: string, newUri: string, token?: vscode.CancellationToken | undefined) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
874
940
|
getSemanticTokens: (uri: string, range: vscode.Range | undefined, legend: vscode.SemanticTokensLegend, token?: vscode.CancellationToken | undefined, reportProgress?: ((tokens: vscode.SemanticTokens) => void) | undefined) => Promise<vscode.SemanticTokens | undefined>;
|
|
@@ -892,19 +958,19 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
892
958
|
getIncomingCalls(item: vscode.CallHierarchyItem, token: vscode.CancellationToken): Promise<vscode.CallHierarchyIncomingCall[]>;
|
|
893
959
|
getOutgoingCalls(item: vscode.CallHierarchyItem, token: vscode.CancellationToken): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
894
960
|
};
|
|
895
|
-
dispose: () => void
|
|
896
|
-
context: import("@volar/language-service").ServiceContext
|
|
961
|
+
dispose: () => void;
|
|
962
|
+
context: import("@volar/language-service").ServiceContext<any>;
|
|
897
963
|
} | undefined;
|
|
898
964
|
getParsedCommandLine: () => ts.ParsedCommandLine;
|
|
899
965
|
tryAddFile: (fileName: string) => void;
|
|
900
966
|
dispose: () => void;
|
|
901
967
|
}>) => void;
|
|
902
968
|
};
|
|
903
|
-
documentRegistry: ts.DocumentRegistry | undefined;
|
|
904
969
|
getProjectAndTsConfig: (uri: string) => Promise<{
|
|
905
970
|
tsconfig: string;
|
|
906
971
|
project: {
|
|
907
|
-
|
|
972
|
+
readFiles: Set<string>;
|
|
973
|
+
tsConfig: path.PosixPath | ts.CompilerOptions;
|
|
908
974
|
scripts: {
|
|
909
975
|
clear: () => void;
|
|
910
976
|
values: () => IterableIterator<{
|
|
@@ -969,7 +1035,12 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
969
1035
|
findDefinition: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
970
1036
|
findTypeDefinition: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
971
1037
|
findImplementations: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
972
|
-
prepareRename: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<NonNullable<vscode.Range |
|
|
1038
|
+
prepareRename: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<NonNullable<vscode.Range | {
|
|
1039
|
+
range: vscode.Range;
|
|
1040
|
+
placeholder: string;
|
|
1041
|
+
} | {
|
|
1042
|
+
message: string;
|
|
1043
|
+
} | null | undefined> | undefined>;
|
|
973
1044
|
doRename: (uri: string, position: vscode.Position, newName: string, token?: vscode.CancellationToken | undefined) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
974
1045
|
getEditsForFileRename: (oldUri: string, newUri: string, token?: vscode.CancellationToken | undefined) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
975
1046
|
getSemanticTokens: (uri: string, range: vscode.Range | undefined, legend: vscode.SemanticTokensLegend, token?: vscode.CancellationToken | undefined, reportProgress?: ((tokens: vscode.SemanticTokens) => void) | undefined) => Promise<vscode.SemanticTokens | undefined>;
|
|
@@ -993,8 +1064,8 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
993
1064
|
getIncomingCalls(item: vscode.CallHierarchyItem, token: vscode.CancellationToken): Promise<vscode.CallHierarchyIncomingCall[]>;
|
|
994
1065
|
getOutgoingCalls(item: vscode.CallHierarchyItem, token: vscode.CancellationToken): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
995
1066
|
};
|
|
996
|
-
dispose: () => void
|
|
997
|
-
context: import("@volar/language-service").ServiceContext
|
|
1067
|
+
dispose: () => void;
|
|
1068
|
+
context: import("@volar/language-service").ServiceContext<any>;
|
|
998
1069
|
};
|
|
999
1070
|
getLanguageServiceDontCreate: () => {
|
|
1000
1071
|
triggerCharacters: string[];
|
|
@@ -1017,7 +1088,12 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1017
1088
|
findDefinition: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
1018
1089
|
findTypeDefinition: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
1019
1090
|
findImplementations: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
1020
|
-
prepareRename: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<NonNullable<vscode.Range |
|
|
1091
|
+
prepareRename: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<NonNullable<vscode.Range | {
|
|
1092
|
+
range: vscode.Range;
|
|
1093
|
+
placeholder: string;
|
|
1094
|
+
} | {
|
|
1095
|
+
message: string;
|
|
1096
|
+
} | null | undefined> | undefined>;
|
|
1021
1097
|
doRename: (uri: string, position: vscode.Position, newName: string, token?: vscode.CancellationToken | undefined) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
1022
1098
|
getEditsForFileRename: (oldUri: string, newUri: string, token?: vscode.CancellationToken | undefined) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
1023
1099
|
getSemanticTokens: (uri: string, range: vscode.Range | undefined, legend: vscode.SemanticTokensLegend, token?: vscode.CancellationToken | undefined, reportProgress?: ((tokens: vscode.SemanticTokens) => void) | undefined) => Promise<vscode.SemanticTokens | undefined>;
|
|
@@ -1041,16 +1117,17 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1041
1117
|
getIncomingCalls(item: vscode.CallHierarchyItem, token: vscode.CancellationToken): Promise<vscode.CallHierarchyIncomingCall[]>;
|
|
1042
1118
|
getOutgoingCalls(item: vscode.CallHierarchyItem, token: vscode.CancellationToken): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
1043
1119
|
};
|
|
1044
|
-
dispose: () => void
|
|
1045
|
-
context: import("@volar/language-service").ServiceContext
|
|
1120
|
+
dispose: () => void;
|
|
1121
|
+
context: import("@volar/language-service").ServiceContext<any>;
|
|
1046
1122
|
} | undefined;
|
|
1047
1123
|
getParsedCommandLine: () => ts.ParsedCommandLine;
|
|
1048
1124
|
tryAddFile: (fileName: string) => void;
|
|
1049
1125
|
dispose: () => void;
|
|
1050
|
-
}
|
|
1126
|
+
};
|
|
1051
1127
|
} | undefined>;
|
|
1052
1128
|
getInferredProject: () => Promise<{
|
|
1053
|
-
|
|
1129
|
+
readFiles: Set<string>;
|
|
1130
|
+
tsConfig: path.PosixPath | ts.CompilerOptions;
|
|
1054
1131
|
scripts: {
|
|
1055
1132
|
clear: () => void;
|
|
1056
1133
|
values: () => IterableIterator<{
|
|
@@ -1115,7 +1192,12 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1115
1192
|
findDefinition: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
1116
1193
|
findTypeDefinition: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
1117
1194
|
findImplementations: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
1118
|
-
prepareRename: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<NonNullable<vscode.Range |
|
|
1195
|
+
prepareRename: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<NonNullable<vscode.Range | {
|
|
1196
|
+
range: vscode.Range;
|
|
1197
|
+
placeholder: string;
|
|
1198
|
+
} | {
|
|
1199
|
+
message: string;
|
|
1200
|
+
} | null | undefined> | undefined>;
|
|
1119
1201
|
doRename: (uri: string, position: vscode.Position, newName: string, token?: vscode.CancellationToken | undefined) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
1120
1202
|
getEditsForFileRename: (oldUri: string, newUri: string, token?: vscode.CancellationToken | undefined) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
1121
1203
|
getSemanticTokens: (uri: string, range: vscode.Range | undefined, legend: vscode.SemanticTokensLegend, token?: vscode.CancellationToken | undefined, reportProgress?: ((tokens: vscode.SemanticTokens) => void) | undefined) => Promise<vscode.SemanticTokens | undefined>;
|
|
@@ -1139,8 +1221,8 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1139
1221
|
getIncomingCalls(item: vscode.CallHierarchyItem, token: vscode.CancellationToken): Promise<vscode.CallHierarchyIncomingCall[]>;
|
|
1140
1222
|
getOutgoingCalls(item: vscode.CallHierarchyItem, token: vscode.CancellationToken): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
1141
1223
|
};
|
|
1142
|
-
dispose: () => void
|
|
1143
|
-
context: import("@volar/language-service").ServiceContext
|
|
1224
|
+
dispose: () => void;
|
|
1225
|
+
context: import("@volar/language-service").ServiceContext<any>;
|
|
1144
1226
|
};
|
|
1145
1227
|
getLanguageServiceDontCreate: () => {
|
|
1146
1228
|
triggerCharacters: string[];
|
|
@@ -1163,7 +1245,12 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1163
1245
|
findDefinition: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
1164
1246
|
findTypeDefinition: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
1165
1247
|
findImplementations: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
1166
|
-
prepareRename: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<NonNullable<vscode.Range |
|
|
1248
|
+
prepareRename: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<NonNullable<vscode.Range | {
|
|
1249
|
+
range: vscode.Range;
|
|
1250
|
+
placeholder: string;
|
|
1251
|
+
} | {
|
|
1252
|
+
message: string;
|
|
1253
|
+
} | null | undefined> | undefined>;
|
|
1167
1254
|
doRename: (uri: string, position: vscode.Position, newName: string, token?: vscode.CancellationToken | undefined) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
1168
1255
|
getEditsForFileRename: (oldUri: string, newUri: string, token?: vscode.CancellationToken | undefined) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
1169
1256
|
getSemanticTokens: (uri: string, range: vscode.Range | undefined, legend: vscode.SemanticTokensLegend, token?: vscode.CancellationToken | undefined, reportProgress?: ((tokens: vscode.SemanticTokens) => void) | undefined) => Promise<vscode.SemanticTokens | undefined>;
|
|
@@ -1187,15 +1274,16 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1187
1274
|
getIncomingCalls(item: vscode.CallHierarchyItem, token: vscode.CancellationToken): Promise<vscode.CallHierarchyIncomingCall[]>;
|
|
1188
1275
|
getOutgoingCalls(item: vscode.CallHierarchyItem, token: vscode.CancellationToken): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
1189
1276
|
};
|
|
1190
|
-
dispose: () => void
|
|
1191
|
-
context: import("@volar/language-service").ServiceContext
|
|
1277
|
+
dispose: () => void;
|
|
1278
|
+
context: import("@volar/language-service").ServiceContext<any>;
|
|
1192
1279
|
} | undefined;
|
|
1193
1280
|
getParsedCommandLine: () => ts.ParsedCommandLine;
|
|
1194
1281
|
tryAddFile: (fileName: string) => void;
|
|
1195
1282
|
dispose: () => void;
|
|
1196
1283
|
}>;
|
|
1197
1284
|
getInferredProjectDontCreate: () => Promise<{
|
|
1198
|
-
|
|
1285
|
+
readFiles: Set<string>;
|
|
1286
|
+
tsConfig: path.PosixPath | ts.CompilerOptions;
|
|
1199
1287
|
scripts: {
|
|
1200
1288
|
clear: () => void;
|
|
1201
1289
|
values: () => IterableIterator<{
|
|
@@ -1260,7 +1348,12 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1260
1348
|
findDefinition: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
1261
1349
|
findTypeDefinition: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
1262
1350
|
findImplementations: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
1263
|
-
prepareRename: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<NonNullable<vscode.Range |
|
|
1351
|
+
prepareRename: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<NonNullable<vscode.Range | {
|
|
1352
|
+
range: vscode.Range;
|
|
1353
|
+
placeholder: string;
|
|
1354
|
+
} | {
|
|
1355
|
+
message: string;
|
|
1356
|
+
} | null | undefined> | undefined>;
|
|
1264
1357
|
doRename: (uri: string, position: vscode.Position, newName: string, token?: vscode.CancellationToken | undefined) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
1265
1358
|
getEditsForFileRename: (oldUri: string, newUri: string, token?: vscode.CancellationToken | undefined) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
1266
1359
|
getSemanticTokens: (uri: string, range: vscode.Range | undefined, legend: vscode.SemanticTokensLegend, token?: vscode.CancellationToken | undefined, reportProgress?: ((tokens: vscode.SemanticTokens) => void) | undefined) => Promise<vscode.SemanticTokens | undefined>;
|
|
@@ -1284,8 +1377,8 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1284
1377
|
getIncomingCalls(item: vscode.CallHierarchyItem, token: vscode.CancellationToken): Promise<vscode.CallHierarchyIncomingCall[]>;
|
|
1285
1378
|
getOutgoingCalls(item: vscode.CallHierarchyItem, token: vscode.CancellationToken): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
1286
1379
|
};
|
|
1287
|
-
dispose: () => void
|
|
1288
|
-
context: import("@volar/language-service").ServiceContext
|
|
1380
|
+
dispose: () => void;
|
|
1381
|
+
context: import("@volar/language-service").ServiceContext<any>;
|
|
1289
1382
|
};
|
|
1290
1383
|
getLanguageServiceDontCreate: () => {
|
|
1291
1384
|
triggerCharacters: string[];
|
|
@@ -1308,7 +1401,12 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1308
1401
|
findDefinition: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
1309
1402
|
findTypeDefinition: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
1310
1403
|
findImplementations: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
1311
|
-
prepareRename: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<NonNullable<vscode.Range |
|
|
1404
|
+
prepareRename: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<NonNullable<vscode.Range | {
|
|
1405
|
+
range: vscode.Range;
|
|
1406
|
+
placeholder: string;
|
|
1407
|
+
} | {
|
|
1408
|
+
message: string;
|
|
1409
|
+
} | null | undefined> | undefined>;
|
|
1312
1410
|
doRename: (uri: string, position: vscode.Position, newName: string, token?: vscode.CancellationToken | undefined) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
1313
1411
|
getEditsForFileRename: (oldUri: string, newUri: string, token?: vscode.CancellationToken | undefined) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
1314
1412
|
getSemanticTokens: (uri: string, range: vscode.Range | undefined, legend: vscode.SemanticTokensLegend, token?: vscode.CancellationToken | undefined, reportProgress?: ((tokens: vscode.SemanticTokens) => void) | undefined) => Promise<vscode.SemanticTokens | undefined>;
|
|
@@ -1332,8 +1430,8 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1332
1430
|
getIncomingCalls(item: vscode.CallHierarchyItem, token: vscode.CancellationToken): Promise<vscode.CallHierarchyIncomingCall[]>;
|
|
1333
1431
|
getOutgoingCalls(item: vscode.CallHierarchyItem, token: vscode.CancellationToken): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
1334
1432
|
};
|
|
1335
|
-
dispose: () => void
|
|
1336
|
-
context: import("@volar/language-service").ServiceContext
|
|
1433
|
+
dispose: () => void;
|
|
1434
|
+
context: import("@volar/language-service").ServiceContext<any>;
|
|
1337
1435
|
} | undefined;
|
|
1338
1436
|
getParsedCommandLine: () => ts.ParsedCommandLine;
|
|
1339
1437
|
tryAddFile: (fileName: string) => void;
|
|
@@ -1345,7 +1443,8 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1345
1443
|
getProject: (uri: string) => Promise<{
|
|
1346
1444
|
tsconfig: string;
|
|
1347
1445
|
project: {
|
|
1348
|
-
|
|
1446
|
+
readFiles: Set<string>;
|
|
1447
|
+
tsConfig: path.PosixPath | ts.CompilerOptions;
|
|
1349
1448
|
scripts: {
|
|
1350
1449
|
clear: () => void;
|
|
1351
1450
|
values: () => IterableIterator<{
|
|
@@ -1410,7 +1509,12 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1410
1509
|
findDefinition: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
1411
1510
|
findTypeDefinition: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
1412
1511
|
findImplementations: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
1413
|
-
prepareRename: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<NonNullable<vscode.Range |
|
|
1512
|
+
prepareRename: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<NonNullable<vscode.Range | {
|
|
1513
|
+
range: vscode.Range;
|
|
1514
|
+
placeholder: string;
|
|
1515
|
+
} | {
|
|
1516
|
+
message: string;
|
|
1517
|
+
} | null | undefined> | undefined>;
|
|
1414
1518
|
doRename: (uri: string, position: vscode.Position, newName: string, token?: vscode.CancellationToken | undefined) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
1415
1519
|
getEditsForFileRename: (oldUri: string, newUri: string, token?: vscode.CancellationToken | undefined) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
1416
1520
|
getSemanticTokens: (uri: string, range: vscode.Range | undefined, legend: vscode.SemanticTokensLegend, token?: vscode.CancellationToken | undefined, reportProgress?: ((tokens: vscode.SemanticTokens) => void) | undefined) => Promise<vscode.SemanticTokens | undefined>;
|
|
@@ -1434,8 +1538,8 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1434
1538
|
getIncomingCalls(item: vscode.CallHierarchyItem, token: vscode.CancellationToken): Promise<vscode.CallHierarchyIncomingCall[]>;
|
|
1435
1539
|
getOutgoingCalls(item: vscode.CallHierarchyItem, token: vscode.CancellationToken): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
1436
1540
|
};
|
|
1437
|
-
dispose: () => void
|
|
1438
|
-
context: import("@volar/language-service").ServiceContext
|
|
1541
|
+
dispose: () => void;
|
|
1542
|
+
context: import("@volar/language-service").ServiceContext<any>;
|
|
1439
1543
|
};
|
|
1440
1544
|
getLanguageServiceDontCreate: () => {
|
|
1441
1545
|
triggerCharacters: string[];
|
|
@@ -1458,7 +1562,12 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1458
1562
|
findDefinition: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
1459
1563
|
findTypeDefinition: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
1460
1564
|
findImplementations: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
1461
|
-
prepareRename: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<NonNullable<vscode.Range |
|
|
1565
|
+
prepareRename: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<NonNullable<vscode.Range | {
|
|
1566
|
+
range: vscode.Range;
|
|
1567
|
+
placeholder: string;
|
|
1568
|
+
} | {
|
|
1569
|
+
message: string;
|
|
1570
|
+
} | null | undefined> | undefined>;
|
|
1462
1571
|
doRename: (uri: string, position: vscode.Position, newName: string, token?: vscode.CancellationToken | undefined) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
1463
1572
|
getEditsForFileRename: (oldUri: string, newUri: string, token?: vscode.CancellationToken | undefined) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
1464
1573
|
getSemanticTokens: (uri: string, range: vscode.Range | undefined, legend: vscode.SemanticTokensLegend, token?: vscode.CancellationToken | undefined, reportProgress?: ((tokens: vscode.SemanticTokens) => void) | undefined) => Promise<vscode.SemanticTokens | undefined>;
|
|
@@ -1482,17 +1591,18 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1482
1591
|
getIncomingCalls(item: vscode.CallHierarchyItem, token: vscode.CancellationToken): Promise<vscode.CallHierarchyIncomingCall[]>;
|
|
1483
1592
|
getOutgoingCalls(item: vscode.CallHierarchyItem, token: vscode.CancellationToken): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
1484
1593
|
};
|
|
1485
|
-
dispose: () => void
|
|
1486
|
-
context: import("@volar/language-service").ServiceContext
|
|
1594
|
+
dispose: () => void;
|
|
1595
|
+
context: import("@volar/language-service").ServiceContext<any>;
|
|
1487
1596
|
} | undefined;
|
|
1488
1597
|
getParsedCommandLine: () => ts.ParsedCommandLine;
|
|
1489
1598
|
tryAddFile: (fileName: string) => void;
|
|
1490
1599
|
dispose: () => void;
|
|
1491
|
-
}
|
|
1600
|
+
};
|
|
1492
1601
|
} | {
|
|
1493
1602
|
tsconfig: undefined;
|
|
1494
1603
|
project: {
|
|
1495
|
-
|
|
1604
|
+
readFiles: Set<string>;
|
|
1605
|
+
tsConfig: path.PosixPath | ts.CompilerOptions;
|
|
1496
1606
|
scripts: {
|
|
1497
1607
|
clear: () => void;
|
|
1498
1608
|
values: () => IterableIterator<{
|
|
@@ -1557,7 +1667,12 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1557
1667
|
findDefinition: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
1558
1668
|
findTypeDefinition: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
1559
1669
|
findImplementations: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
1560
|
-
prepareRename: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<NonNullable<vscode.Range |
|
|
1670
|
+
prepareRename: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<NonNullable<vscode.Range | {
|
|
1671
|
+
range: vscode.Range;
|
|
1672
|
+
placeholder: string;
|
|
1673
|
+
} | {
|
|
1674
|
+
message: string;
|
|
1675
|
+
} | null | undefined> | undefined>;
|
|
1561
1676
|
doRename: (uri: string, position: vscode.Position, newName: string, token?: vscode.CancellationToken | undefined) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
1562
1677
|
getEditsForFileRename: (oldUri: string, newUri: string, token?: vscode.CancellationToken | undefined) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
1563
1678
|
getSemanticTokens: (uri: string, range: vscode.Range | undefined, legend: vscode.SemanticTokensLegend, token?: vscode.CancellationToken | undefined, reportProgress?: ((tokens: vscode.SemanticTokens) => void) | undefined) => Promise<vscode.SemanticTokens | undefined>;
|
|
@@ -1581,8 +1696,8 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1581
1696
|
getIncomingCalls(item: vscode.CallHierarchyItem, token: vscode.CancellationToken): Promise<vscode.CallHierarchyIncomingCall[]>;
|
|
1582
1697
|
getOutgoingCalls(item: vscode.CallHierarchyItem, token: vscode.CancellationToken): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
1583
1698
|
};
|
|
1584
|
-
dispose: () => void
|
|
1585
|
-
context: import("@volar/language-service").ServiceContext
|
|
1699
|
+
dispose: () => void;
|
|
1700
|
+
context: import("@volar/language-service").ServiceContext<any>;
|
|
1586
1701
|
};
|
|
1587
1702
|
getLanguageServiceDontCreate: () => {
|
|
1588
1703
|
triggerCharacters: string[];
|
|
@@ -1605,7 +1720,12 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1605
1720
|
findDefinition: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
1606
1721
|
findTypeDefinition: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
1607
1722
|
findImplementations: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<vscode.LocationLink[] | undefined>;
|
|
1608
|
-
prepareRename: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<NonNullable<vscode.Range |
|
|
1723
|
+
prepareRename: (uri: string, position: vscode.Position, token?: vscode.CancellationToken | undefined) => Promise<NonNullable<vscode.Range | {
|
|
1724
|
+
range: vscode.Range;
|
|
1725
|
+
placeholder: string;
|
|
1726
|
+
} | {
|
|
1727
|
+
message: string;
|
|
1728
|
+
} | null | undefined> | undefined>;
|
|
1609
1729
|
doRename: (uri: string, position: vscode.Position, newName: string, token?: vscode.CancellationToken | undefined) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
1610
1730
|
getEditsForFileRename: (oldUri: string, newUri: string, token?: vscode.CancellationToken | undefined) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
1611
1731
|
getSemanticTokens: (uri: string, range: vscode.Range | undefined, legend: vscode.SemanticTokensLegend, token?: vscode.CancellationToken | undefined, reportProgress?: ((tokens: vscode.SemanticTokens) => void) | undefined) => Promise<vscode.SemanticTokens | undefined>;
|
|
@@ -1629,8 +1749,8 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1629
1749
|
getIncomingCalls(item: vscode.CallHierarchyItem, token: vscode.CancellationToken): Promise<vscode.CallHierarchyIncomingCall[]>;
|
|
1630
1750
|
getOutgoingCalls(item: vscode.CallHierarchyItem, token: vscode.CancellationToken): Promise<vscode.CallHierarchyOutgoingCall[]>;
|
|
1631
1751
|
};
|
|
1632
|
-
dispose: () => void
|
|
1633
|
-
context: import("@volar/language-service").ServiceContext
|
|
1752
|
+
dispose: () => void;
|
|
1753
|
+
context: import("@volar/language-service").ServiceContext<any>;
|
|
1634
1754
|
} | undefined;
|
|
1635
1755
|
getParsedCommandLine: () => ts.ParsedCommandLine;
|
|
1636
1756
|
tryAddFile: (fileName: string) => void;
|