Comment API docs

This commit is contained in:
Alex Ross 2022-04-21 11:20:50 +02:00
parent e43b54417f
commit 26f019d919
No known key found for this signature in database
GPG key ID: 89DDDBA66CBA7840
2 changed files with 7 additions and 2 deletions

View file

@ -14387,7 +14387,7 @@ declare module 'vscode' {
/**
* The range the comment thread is located within the document. The thread icon will be shown
* at the first line of the range.
* at the last line of the range.
*/
range: Range;

View file

@ -7,13 +7,18 @@ declare module 'vscode' {
// https://github.com/microsoft/vscode/issues/127473
/**
* The state of a comment thread.
*/
export enum CommentThreadState {
Unresolved = 0,
Resolved = 1
}
// TODO@API doc
export interface CommentThread {
/**
* The optional state of a comment thread, which may affect how the comment is displayed.
*/
state?: CommentThreadState;
}
}