Optional commentingOptional commenting range provider. Provide a list ranges which support commenting to any given resource uri.
If not provided, users can leave comments in any document opened in the editor.
Readonly idThe id of this comment controller.
Readonly labelThe human-readable label of this comment controller.
Optional optionsComment controller options
Optional reactionOptional reaction handler for creating and deleting reactions on a comment.
Create a comment thread. The comment thread will be displayed in visible text editors (if the resource matches) and Comments Panel once created.
Dispose this comment controller.
Once disposed, all comment threads created by this comment controller will also be removed from the editor and Comments Panel.
A comment controller is able to provide comments support to the editor and provide users various ways to interact with comments.