We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Refs: #214327
Complexity: 5
Create Issue
A commenting range provider can indicate that file level comments are supported:
vscode/src/vscode-dts/vscode.d.ts
Lines 17290 to 17304 in 18daae3
A comment thread can indicate that a thread is at the file level:
Lines 17116 to 17121 in 18daae3
Using this newly finalized API, you can adapt the comment sample to support file level comments.
First, you'll need to update the commenting range provider to use the enableFileComments option:
enableFileComments
https://github.com/microsoft/vscode-extension-samples/blob/0d2044ef630c42b95bcd8d60395f6250a1fe0657/comment-sample/src/extension.ts#L27-L32
There is no default entry point for a user to add a file level comment, so you'll need to add a command for it that calls the addComment command:
addComment
vscode.commands.executeCommand('workbench.action.addComment', { fileComment: true });
Verify that the inline documentation for the API makes sense. Verify that you can use the API to enable file level comments.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Refs: #214327
Complexity: 5
Create Issue
A commenting range provider can indicate that file level comments are supported:
vscode/src/vscode-dts/vscode.d.ts
Lines 17290 to 17304 in 18daae3
A comment thread can indicate that a thread is at the file level:
vscode/src/vscode-dts/vscode.d.ts
Lines 17116 to 17121 in 18daae3
Using this newly finalized API, you can adapt the comment sample to support file level comments.
First, you'll need to update the commenting range provider to use the
enableFileComments
option:https://github.com/microsoft/vscode-extension-samples/blob/0d2044ef630c42b95bcd8d60395f6250a1fe0657/comment-sample/src/extension.ts#L27-L32
There is no default entry point for a user to add a file level comment, so you'll need to add a command for it that calls the
addComment
command:Verify that the inline documentation for the API makes sense.
Verify that you can use the API to enable file level comments.
The text was updated successfully, but these errors were encountered: