@@ -527,7 +527,7 @@ export interface ExtHostUrlsShape {
527527}
528528
529529export interface MainThreadWorkspaceShape extends IDisposable {
530- $startFileSearch ( includePattern : string | undefined , includeFolder : UriComponents | undefined , excludePatternOrDisregardExcludes : string | false | undefined , maxResults : number , token : CancellationToken ) : Promise < UriComponents [ ] | undefined > ;
530+ $startFileSearch ( includePattern : string | undefined , includeFolder : UriComponents | undefined , excludePatternOrDisregardExcludes : string | false | undefined , maxResults : number | undefined , token : CancellationToken ) : Promise < UriComponents [ ] | undefined > ;
531531 $startTextSearch ( query : IPatternInfo , options : ITextQueryBuilderOptions , requestId : number , token : CancellationToken ) : Promise < vscode . TextSearchComplete > ;
532532 $checkExists ( includes : string [ ] , token : CancellationToken ) : Promise < boolean > ;
533533 $saveAll ( includeUntitled ?: boolean ) : Promise < boolean > ;
@@ -1105,19 +1105,19 @@ export interface ExtHostProgressShape {
11051105
11061106export interface ExtHostCommentsShape {
11071107 $provideDocumentComments ( handle : number , document : UriComponents ) : Promise < modes . CommentInfo > ;
1108- $createNewCommentThread ( handle : number , document : UriComponents , range : IRange , text : string ) : Promise < modes . CommentThread > ;
1108+ $createNewCommentThread ( handle : number , document : UriComponents , range : IRange , text : string ) : Promise < modes . CommentThread | null > ;
11091109 $onCommentWidgetInputChange ( commentControllerHandle : number , input : string ) : Promise < number | undefined > ;
11101110 $provideCommentingRanges ( commentControllerHandle : number , uriComponents : UriComponents , token : CancellationToken ) : Promise < IRange [ ] | undefined > ;
11111111 $createNewCommentWidgetCallback ( commentControllerHandle : number , uriComponents : UriComponents , range : IRange , token : CancellationToken ) : void ;
1112- $replyToCommentThread ( handle : number , document : UriComponents , range : IRange , commentThread : modes . CommentThread , text : string ) : Promise < modes . CommentThread > ;
1112+ $replyToCommentThread ( handle : number , document : UriComponents , range : IRange , commentThread : modes . CommentThread , text : string ) : Promise < modes . CommentThread | null > ;
11131113 $editComment ( handle : number , document : UriComponents , comment : modes . Comment , text : string ) : Promise < void > ;
11141114 $deleteComment ( handle : number , document : UriComponents , comment : modes . Comment ) : Promise < void > ;
11151115 $startDraft ( handle : number , document : UriComponents ) : Promise < void > ;
11161116 $deleteDraft ( handle : number , document : UriComponents ) : Promise < void > ;
11171117 $finishDraft ( handle : number , document : UriComponents ) : Promise < void > ;
11181118 $addReaction ( handle : number , document : UriComponents , comment : modes . Comment , reaction : modes . CommentReaction ) : Promise < void > ;
11191119 $deleteReaction ( handle : number , document : UriComponents , comment : modes . Comment , reaction : modes . CommentReaction ) : Promise < void > ;
1120- $provideWorkspaceComments ( handle : number ) : Promise < modes . CommentThread [ ] > ;
1120+ $provideWorkspaceComments ( handle : number ) : Promise < modes . CommentThread [ ] | null > ;
11211121}
11221122
11231123export interface ExtHostStorageShape {
0 commit comments