mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 18:19:12 +01:00
@@ -16,7 +16,6 @@ import { ExtensionIdentifier, IExtensionDescription } from 'vs/platform/extensio
|
||||
import { ExtHostDocuments } from 'vs/workbench/api/common/extHostDocuments';
|
||||
import * as extHostTypeConverter from 'vs/workbench/api/common/extHostTypeConverters';
|
||||
import * as types from 'vs/workbench/api/common/extHostTypes';
|
||||
import { checkProposedApiEnabled } from 'vs/workbench/services/extensions/common/extensions';
|
||||
import type * as vscode from 'vscode';
|
||||
import { ExtHostCommentsShape, IMainContext, MainContext, CommentThreadChanges, CommentChanges } from './extHost.protocol';
|
||||
import { ExtHostCommands } from './extHostCommands';
|
||||
@@ -338,12 +337,10 @@ export function createExtHostComments(mainContext: IMainContext, commands: ExtHo
|
||||
private _state?: vscode.CommentThreadState;
|
||||
|
||||
get state(): vscode.CommentThreadState {
|
||||
checkProposedApiEnabled(this.extensionDescription, 'commentsResolvedState');
|
||||
return this._state!;
|
||||
}
|
||||
|
||||
set state(newState: vscode.CommentThreadState) {
|
||||
checkProposedApiEnabled(this.extensionDescription, 'commentsResolvedState');
|
||||
this._state = newState;
|
||||
this.modifications.state = newState;
|
||||
this._onDidUpdateCommentThread.fire();
|
||||
|
||||
Reference in New Issue
Block a user