mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-02 06:21:50 +01:00
commentProvider can control collapse state of a thread
This commit is contained in:
@@ -47,6 +47,10 @@ export class MainThreadComments extends Disposable implements MainThreadComments
|
||||
return;
|
||||
}
|
||||
|
||||
if (!outerEditor.getModel()) {
|
||||
return;
|
||||
}
|
||||
|
||||
const outerEditorURI = outerEditor.getModel().uri;
|
||||
this.provideComments(outerEditorURI).then(commentInfos => {
|
||||
this._commentService.setComments(outerEditorURI, commentInfos);
|
||||
|
||||
Reference in New Issue
Block a user