You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/vscode-dts/vscode.proposed.chatOutputRenderer.d.ts
+11-2Lines changed: 11 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -49,9 +49,18 @@ declare module 'vscode' {
49
49
/**
50
50
* Registers a new renderer for a given mime type.
51
51
*
52
-
* Note: make sure to use the `onChatOutputRenderer:mime` activation event in your extension's `package.json` to ensure that the renderer is registered.
52
+
* Note: To use this API, you should also add a contribution point in your extension's
53
+
* package.json:
53
54
*
54
-
* TODO:should this be a contribution instead?
55
+
* ```json
56
+
* "contributes": {
57
+
* "chatOutputRenderer": [
58
+
* {
59
+
* "mimeTypes": ["application/your-mime-type"]
60
+
* }
61
+
* ]
62
+
* }
63
+
* ```
55
64
*
56
65
* @param mime The MIME type of the output that this renderer can handle.
0 commit comments