Finalize comment timestamp API

Fixes #139524
This commit is contained in:
Alex Ross
2022-02-09 16:39:25 +01:00
parent 479dc2ab2b
commit a330b89e5d
4 changed files with 6 additions and 20 deletions

View File

@@ -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';
@@ -618,10 +617,6 @@ export function createExtHostComments(mainContext: IMainContext, commands: ExtHo
const iconPath = vscodeComment.author && vscodeComment.author.iconPath ? vscodeComment.author.iconPath.toString() : undefined;
if (vscodeComment.timestamp) {
checkProposedApiEnabled(thread.extensionDescription, 'commentTimestamp');
}
return {
mode: vscodeComment.mode,
contextValue: vscodeComment.contextValue,