jsdoc 💄

This commit is contained in:
Johannes Rieken 2021-07-22 16:18:54 +02:00
parent d312804c3f
commit 0803e2cc67
No known key found for this signature in database
GPG key ID: 96634B5AF12F8798

14
src/vs/vscode.d.ts vendored
View file

@ -11565,12 +11565,13 @@ declare module 'vscode' {
*/
export interface NotebookRendererMessaging {
/**
* Events that fires when a message is received from a renderer.
* An event that fires when a message is received from a renderer.
*/
readonly onDidReceiveMessage: Event<{ editor: NotebookEditor, message: any }>;
/**
* Sends a message to the renderer.
* Send a message to one or all renderer.
*
* @param message Message to send
* @param editor Editor to target with the message. If not provided, the
* message is sent to all renderers.
@ -12316,8 +12317,11 @@ declare module 'vscode' {
export function registerNotebookCellStatusBarItemProvider(notebookType: string, provider: NotebookCellStatusBarItemProvider): Disposable;
/**
* Creates a new messaging instance used to communicate with a specific renderer defined in this extension's package.json. The renderer only
* has access to messaging if `requiresMessaging` is set to `always` or `optional` in its `notebookRenderer ` contribution.
* Creates a new messaging instance used to communicate with a specific renderer.
*
* * *Note 1:* Extensions can only create renderer that they have defined in their `package.json`-file
* * *Note 2:* A renderer only has access to messaging if `requiresMessaging` is set to `always` or `optional` in
* its `notebookRenderer` contribution.
*
* @param rendererId The renderer ID to communicate with
* @returns A new notebook renderer messaging object.
@ -13895,7 +13899,7 @@ declare module 'vscode' {
*/
export interface TestController {
/**
* The ID of the controller passed in {@link vscode.tests.createTestController}.
* The id of the controller passed in {@link vscode.tests.createTestController}.
* This must be globally unique.
*/
readonly id: string;