Skip to content

Commit

Permalink
Fixing doc comment for new api
Browse files Browse the repository at this point in the history
  • Loading branch information
mjbvz committed Feb 11, 2020
1 parent fb622a8 commit 760cb13
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/vs/vscode.proposed.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1629,7 +1629,13 @@ declare module 'vscode' {
/**
* Static documentation for a class of code actions.
*
* The documentation is shown at the
* The documentation is shown in the code actions menu if either:
*
* - Code actions of `kind` are requested by VS Code. Note that in this case, we always pick the most specific
* documentation. For example, if documentation for both `Refactor` and `RefactorExtract` is provided, and we
* request code actions for `RefactorExtract`, we prefer the more specific documentation for `RefactorExtract`.
*
* - Any code actions of `kind` are returned by the provider.
*/
readonly documentation?: ReadonlyArray<{ readonly kind: CodeActionKind, readonly command: Command }>;
}
Expand Down

0 comments on commit 760cb13

Please sign in to comment.