Files
vscode-extension-samples/comment-sample
Laurent Le Brun 7923482046 Fix the 'Cancel' button in comment-sample (#492)
The code behind 'Cancel' was identical to the code for 'Save'. Since the
commenting API is modifying the body of the comment, we need to save the
previous value in the Comment object.
2022-01-24 14:21:01 +01:00
..
2020-05-29 14:20:07 -07:00
2019-05-17 16:40:30 -07:00
2020-05-29 14:13:32 -07:00
2021-10-04 12:24:14 -07:00
2019-08-01 14:28:12 -07:00
2020-05-06 12:14:11 -07:00
2019-03-29 19:31:06 +01:00

Commenting API Example

This sample shows

  • How to create a comment controller.
  • How to support comment thread creation for documents.
  • How to update comment actions dynamically.

demo

Running the Sample

  • Run npm install in terminal to install dependencies
  • Run the Run Extension target in the Debug View. This will:
    • Start a task npm: watch to compile the code
    • Run the extension in a new VS Code window