@@ -71,7 +71,7 @@ export interface IStaticWorkspaceData {
71
71
}
72
72
73
73
export interface IWorkspaceData extends IStaticWorkspaceData {
74
- folders : { uri : UriComponents , name : string , index : number } [ ] ;
74
+ folders : { uri : UriComponents , name : string , index : number ; } [ ] ;
75
75
}
76
76
77
77
export interface IInitData {
@@ -97,7 +97,7 @@ export interface IConfigurationInitData extends IConfigurationData {
97
97
98
98
export interface IWorkspaceConfigurationChangeEventData {
99
99
changedConfiguration : IConfigurationModel ;
100
- changedConfigurationByResource : { [ folder : string ] : IConfigurationModel } ;
100
+ changedConfigurationByResource : { [ folder : string ] : IConfigurationModel ; } ;
101
101
}
102
102
103
103
export interface IExtHostContext extends IRPCProtocol {
@@ -136,7 +136,7 @@ export type CommentThreadChanges = Partial<{
136
136
label : string ,
137
137
contextValue : string ,
138
138
comments : modes . Comment [ ] ,
139
- collapseState : modes . CommentThreadCollapsibleState
139
+ collapseState : modes . CommentThreadCollapsibleState ;
140
140
} > ;
141
141
142
142
export interface MainThreadCommentsShape extends IDisposable {
@@ -165,13 +165,13 @@ export interface MainThreadDialogOpenOptions {
165
165
canSelectFiles ?: boolean ;
166
166
canSelectFolders ?: boolean ;
167
167
canSelectMany ?: boolean ;
168
- filters ?: { [ name : string ] : string [ ] } ;
168
+ filters ?: { [ name : string ] : string [ ] ; } ;
169
169
}
170
170
171
171
export interface MainThreadDialogSaveOptions {
172
172
defaultUri ?: UriComponents ;
173
173
saveLabel ?: string ;
174
- filters ?: { [ name : string ] : string [ ] } ;
174
+ filters ?: { [ name : string ] : string [ ] ; } ;
175
175
}
176
176
177
177
export interface MainThreadDiaglogsShape extends IDisposable {
@@ -254,8 +254,8 @@ export interface MainThreadTextEditorsShape extends IDisposable {
254
254
}
255
255
256
256
export interface MainThreadTreeViewsShape extends IDisposable {
257
- $registerTreeViewDataProvider ( treeViewId : string , options : { showCollapseAll : boolean , canSelectMany : boolean } ) : void ;
258
- $refresh ( treeViewId : string , itemsToRefresh ?: { [ treeItemHandle : string ] : ITreeItem } ) : Promise < void > ;
257
+ $registerTreeViewDataProvider ( treeViewId : string , options : { showCollapseAll : boolean , canSelectMany : boolean ; } ) : void ;
258
+ $refresh ( treeViewId : string , itemsToRefresh ?: { [ treeItemHandle : string ] : ITreeItem ; } ) : Promise < void > ;
259
259
$reveal ( treeViewId : string , treeItem : ITreeItem , parentChain : ITreeItem [ ] , options : IRevealOptions ) : Promise < void > ;
260
260
$setMessage ( treeViewId : string , message : string ) : void ;
261
261
$setTitle ( treeViewId : string , title : string ) : void ;
@@ -278,7 +278,7 @@ export interface MainThreadKeytarShape extends IDisposable {
278
278
$setPassword ( service : string , account : string , password : string ) : Promise < void > ;
279
279
$deletePassword ( service : string , account : string ) : Promise < boolean > ;
280
280
$findPassword ( service : string ) : Promise < string | null > ;
281
- $findCredentials ( service : string ) : Promise < Array < { account : string , password : string } > > ;
281
+ $findCredentials ( service : string ) : Promise < Array < { account : string , password : string ; } > > ;
282
282
}
283
283
284
284
export interface IRegExpDto {
@@ -321,7 +321,7 @@ export interface ILanguageConfigurationDto {
321
321
} ;
322
322
}
323
323
324
- export type GlobPattern = string | { base : string ; pattern : string } ;
324
+ export type GlobPattern = string | { base : string ; pattern : string ; } ;
325
325
326
326
export interface IDocumentFilterDto {
327
327
$serialized : true ;
@@ -400,15 +400,15 @@ export interface TerminalLaunchConfig {
400
400
shellPath ?: string ;
401
401
shellArgs ?: string [ ] | string ;
402
402
cwd ?: string | UriComponents ;
403
- env ?: { [ key : string ] : string | null } ;
403
+ env ?: { [ key : string ] : string | null ; } ;
404
404
waitOnExit ?: boolean ;
405
405
strictEnv ?: boolean ;
406
406
hideFromUser ?: boolean ;
407
407
isExtensionTerminal ?: boolean ;
408
408
}
409
409
410
410
export interface MainThreadTerminalServiceShape extends IDisposable {
411
- $createTerminal ( config : TerminalLaunchConfig ) : Promise < { id : number , name : string } > ;
411
+ $createTerminal ( config : TerminalLaunchConfig ) : Promise < { id : number , name : string ; } > ;
412
412
$dispose ( terminalId : number ) : void ;
413
413
$hide ( terminalId : number ) : void ;
414
414
$sendText ( terminalId : number , text : string , addNewLine : boolean ) : void ;
@@ -558,7 +558,7 @@ export interface MainThreadWebviewsShape extends IDisposable {
558
558
$disposeWebview ( handle : WebviewPanelHandle ) : void ;
559
559
$reveal ( handle : WebviewPanelHandle , showOptions : WebviewPanelShowOptions ) : void ;
560
560
$setTitle ( handle : WebviewPanelHandle , value : string ) : void ;
561
- $setIconPath ( handle : WebviewPanelHandle , value : { light : UriComponents , dark : UriComponents } | undefined ) : void ;
561
+ $setIconPath ( handle : WebviewPanelHandle , value : { light : UriComponents , dark : UriComponents ; } | undefined ) : void ;
562
562
563
563
$setHtml ( handle : WebviewPanelHandle , value : string ) : void ;
564
564
$setOptions ( handle : WebviewPanelHandle , options : modes . IWebviewOptions ) : void ;
@@ -593,7 +593,7 @@ export interface MainThreadUrlsShape extends IDisposable {
593
593
$registerUriHandler ( handle : number , extensionId : ExtensionIdentifier ) : Promise < void > ;
594
594
$unregisterUriHandler ( handle : number ) : Promise < void > ;
595
595
$createAppUri ( uri : UriComponents ) : Promise < UriComponents > ;
596
- $proposedCreateAppUri ( extensionId : ExtensionIdentifier , options ?: { payload ?: Partial < UriComponents > } ) : Promise < UriComponents > ;
596
+ $proposedCreateAppUri ( extensionId : ExtensionIdentifier , options ?: { payload ?: Partial < UriComponents > ; } ) : Promise < UriComponents > ;
597
597
}
598
598
599
599
export interface ExtHostUrlsShape {
@@ -609,7 +609,7 @@ export interface MainThreadWorkspaceShape extends IDisposable {
609
609
$startTextSearch ( query : search . IPatternInfo , options : ITextQueryBuilderOptions , requestId : number , token : CancellationToken ) : Promise < ITextSearchComplete > ;
610
610
$checkExists ( folders : UriComponents [ ] , includes : string [ ] , token : CancellationToken ) : Promise < boolean > ;
611
611
$saveAll ( includeUntitled ?: boolean ) : Promise < boolean > ;
612
- $updateWorkspaceFolders ( extensionName : string , index : number , deleteCount : number , workspaceFoldersToAdd : { uri : UriComponents , name ?: string } [ ] ) : Promise < void > ;
612
+ $updateWorkspaceFolders ( extensionName : string , index : number , deleteCount : number , workspaceFoldersToAdd : { uri : UriComponents , name ?: string ; } [ ] ) : Promise < void > ;
613
613
$resolveProxy ( url : string ) : Promise < string | undefined > ;
614
614
}
615
615
@@ -764,7 +764,7 @@ export interface MainThreadWindowShape extends IDisposable {
764
764
765
765
export interface ExtHostCommandsShape {
766
766
$executeContributedCommand < T > ( id : string , ...args : any [ ] ) : Promise < T > ;
767
- $getContributedCommandHandlerDescriptions ( ) : Promise < { [ id : string ] : string | ICommandHandlerDescription } > ;
767
+ $getContributedCommandHandlerDescriptions ( ) : Promise < { [ id : string ] : string | ICommandHandlerDescription ; } > ;
768
768
}
769
769
770
770
export interface ExtHostConfigurationShape {
@@ -898,7 +898,7 @@ export interface ExtHostExtensionServiceShape {
898
898
$startExtensionHost ( enabledExtensionIds : ExtensionIdentifier [ ] ) : Promise < void > ;
899
899
$activateByEvent ( activationEvent : string ) : Promise < void > ;
900
900
$activate ( extensionId : ExtensionIdentifier , reason : ExtensionActivationReason ) : Promise < boolean > ;
901
- $setRemoteEnvironment ( env : { [ key : string ] : string | null } ) : Promise < void > ;
901
+ $setRemoteEnvironment ( env : { [ key : string ] : string | null ; } ) : Promise < void > ;
902
902
903
903
$deltaExtensions ( toAdd : IExtensionDescription [ ] , toRemove : ExtensionIdentifier [ ] ) : Promise < void > ;
904
904
@@ -978,7 +978,7 @@ export interface ISuggestDataDto {
978
978
[ ISuggestDataDtoField . preselect ] ?: boolean ;
979
979
[ ISuggestDataDtoField . insertText ] ?: string ;
980
980
[ ISuggestDataDtoField . insertTextRules ] ?: modes . CompletionItemInsertTextRule ;
981
- [ ISuggestDataDtoField . range ] ?: IRange | { insert : IRange , replace : IRange } ;
981
+ [ ISuggestDataDtoField . range ] ?: IRange | { insert : IRange , replace : IRange ; } ;
982
982
[ ISuggestDataDtoField . commitCharacters ] ?: string [ ] ;
983
983
[ ISuggestDataDtoField . additionalTextEdits ] ?: ISingleEditOperation [ ] ;
984
984
[ ISuggestDataDtoField . command ] ?: modes . Command ;
@@ -989,7 +989,7 @@ export interface ISuggestDataDto {
989
989
990
990
export interface ISuggestResultDto {
991
991
x ?: number ;
992
- a : { insert : IRange , replace : IRange } ;
992
+ a : { insert : IRange , replace : IRange ; } ;
993
993
b : ISuggestDataDto [ ] ;
994
994
c ?: boolean ;
995
995
}
@@ -1112,7 +1112,8 @@ export interface ICodeLensDto {
1112
1112
}
1113
1113
1114
1114
export interface ICallHierarchyItemDto {
1115
- id : string ;
1115
+ _sessionId : string ;
1116
+ _itemId : string ;
1116
1117
kind : modes . SymbolKind ;
1117
1118
name : string ;
1118
1119
detail ?: string ;
@@ -1121,6 +1122,16 @@ export interface ICallHierarchyItemDto {
1121
1122
selectionRange : IRange ;
1122
1123
}
1123
1124
1125
+ export interface IIncomingCallDto {
1126
+ from : ICallHierarchyItemDto ;
1127
+ fromRanges : IRange [ ] ;
1128
+ }
1129
+
1130
+ export interface IOutgoingCallDto {
1131
+ fromRanges : IRange [ ] ;
1132
+ to : ICallHierarchyItemDto ;
1133
+ }
1134
+
1124
1135
export interface ExtHostLanguageFeaturesShape {
1125
1136
$provideDocumentSymbols ( handle : number , resource : UriComponents , token : CancellationToken ) : Promise < modes . DocumentSymbol [ ] | undefined > ;
1126
1137
$provideCodeLenses ( handle : number , resource : UriComponents , token : CancellationToken ) : Promise < ICodeLensListDto | undefined > ;
@@ -1155,9 +1166,9 @@ export interface ExtHostLanguageFeaturesShape {
1155
1166
$provideColorPresentations ( handle : number , resource : UriComponents , colorInfo : IRawColorInfo , token : CancellationToken ) : Promise < modes . IColorPresentation [ ] | undefined > ;
1156
1167
$provideFoldingRanges ( handle : number , resource : UriComponents , context : modes . FoldingContext , token : CancellationToken ) : Promise < modes . FoldingRange [ ] | undefined > ;
1157
1168
$provideSelectionRanges ( handle : number , resource : UriComponents , positions : IPosition [ ] , token : CancellationToken ) : Promise < modes . SelectionRange [ ] [ ] > ;
1158
- $prepareCallHierarchy ( handle : number , resource : UriComponents , position : IPosition , token : CancellationToken ) : Promise < { sessionId : string , root : ICallHierarchyItemDto } | undefined > ;
1159
- $provideCallHierarchyIncomingCalls ( handle : number , itemId : string , token : CancellationToken ) : Promise < [ ICallHierarchyItemDto , IRange [ ] ] [ ] | undefined > ;
1160
- $provideCallHierarchyOutgoingCalls ( handle : number , itemId : string , token : CancellationToken ) : Promise < [ ICallHierarchyItemDto , IRange [ ] ] [ ] | undefined > ;
1169
+ $prepareCallHierarchy ( handle : number , resource : UriComponents , position : IPosition , token : CancellationToken ) : Promise < ICallHierarchyItemDto | undefined > ;
1170
+ $provideCallHierarchyIncomingCalls ( handle : number , sessionId : string , itemId : string , token : CancellationToken ) : Promise < IIncomingCallDto [ ] | undefined > ;
1171
+ $provideCallHierarchyOutgoingCalls ( handle : number , sessionId : string , itemId : string , token : CancellationToken ) : Promise < IOutgoingCallDto [ ] | undefined > ;
1161
1172
$releaseCallHierarchy ( handle : number , sessionId : string ) : void ;
1162
1173
}
1163
1174
@@ -1177,7 +1188,7 @@ export interface IShellLaunchConfigDto {
1177
1188
executable ?: string ;
1178
1189
args ?: string [ ] | string ;
1179
1190
cwd ?: string | UriComponents ;
1180
- env ?: { [ key : string ] : string | null } ;
1191
+ env ?: { [ key : string ] : string | null ; } ;
1181
1192
}
1182
1193
1183
1194
export interface IShellDefinitionDto {
@@ -1232,8 +1243,8 @@ export interface ExtHostTaskShape {
1232
1243
$onDidStartTaskProcess ( value : tasks . TaskProcessStartedDTO ) : void ;
1233
1244
$onDidEndTaskProcess ( value : tasks . TaskProcessEndedDTO ) : void ;
1234
1245
$OnDidEndTask ( execution : tasks . TaskExecutionDTO ) : void ;
1235
- $resolveVariables ( workspaceFolder : UriComponents , toResolve : { process ?: { name : string ; cwd ?: string } , variables : string [ ] } ) : Promise < { process ?: string ; variables : { [ key : string ] : string } } > ;
1236
- $getDefaultShellAndArgs ( ) : Thenable < { shell : string , args : string [ ] | string | undefined } > ;
1246
+ $resolveVariables ( workspaceFolder : UriComponents , toResolve : { process ?: { name : string ; cwd ?: string ; } , variables : string [ ] ; } ) : Promise < { process ?: string ; variables : { [ key : string ] : string ; } ; } > ;
1247
+ $getDefaultShellAndArgs ( ) : Thenable < { shell : string , args : string [ ] | string | undefined ; } > ;
1237
1248
$jsonTasksSupported ( ) : Thenable < boolean > ;
1238
1249
}
1239
1250
@@ -1321,7 +1332,7 @@ export interface DecorationRequest {
1321
1332
}
1322
1333
1323
1334
export type DecorationData = [ number , boolean , string , string , ThemeColor ] ;
1324
- export type DecorationReply = { [ id : number ] : DecorationData } ;
1335
+ export type DecorationReply = { [ id : number ] : DecorationData ; } ;
1325
1336
1326
1337
export interface ExtHostDecorationsShape {
1327
1338
$provideDecorations ( requests : DecorationRequest [ ] , token : CancellationToken ) : Promise < DecorationReply > ;
0 commit comments