-
Notifications
You must be signed in to change notification settings - Fork 29.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test CommentThreadState API #172027
Comments
@alexr00 not sure how I'm supposed to get the latest vscode.d.ts files, Please could you provide instructions on how I could get the vscode.d.ts files to test this, also, should I be enabling proposed-api in the launch.json? |
It seems to me that the default state of the thread is Unresolved, but could that be clarified in the API docs? Other than that, LGTM |
@DonJayamanne I usually just copy the vscode.d.ts file over for testing finalizations. @rzhao271 the default state is neither unresolved no resolved so as to preserve the existing behavior for comments. |
|
Refs: #127473
Complexity: 5
Create Issue
The
CommentThreadState
API has been finalized:vscode/src/vscode-dts/vscode.d.ts
Lines 15225 to 15231 in fcb503b
vscode/src/vscode-dts/vscode.d.ts
Lines 15290 to 15293 in fcb503b
Take a look at the API and verify that the inline documentation makes sense. Then, try out the API. One easy way to try the API is to use the comments extension sample and instead of adding a "pending" label to the comment you could set the comment thread state to
Unresolved
:https://github.com/microsoft/vscode-extension-samples/blob/8431b4978c73721adb1edb3571063bfada509e7a/comment-sample/src/extension.ts#L46-L48
Verify
The text was updated successfully, but these errors were encountered: