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
{{ message }}
Repository navigation
Commit 827bf56
Browse filesBrowse the repository at this point in the historyBrowse files
* Register a chat explicit context provider. Explicit context items are shown as options when the user explicitly attaches context use the "Attache Context" action in the chat input box.
29
+
* Register a chat explicit context provider. Explicit context items are shown as options when the user explicitly attaches context use the "Add Context" action in the chat input box.
30
30
*
31
31
* Explicit context providers should also be statically contributed in package.json using the `chatContext` contribution point.
32
32
*
@@ -65,11 +65,11 @@ declare module 'vscode' {
65
65
exportinterfaceChatContextItem{
66
66
/**
67
67
* Icon for the context item.
68
-
* - If `icon` is not defined, no icon is shown.
69
-
* - If `icon` is defined and is a file or folder icon, the icon is derived from {@link resourceUri} if `resourceUri` is defined.
70
-
* - Otherwise, `icon` is used.
68
+
* - If `iconPath` is not defined, no icon is shown.
69
+
* - If `iconPath` is a file or folder {@link ThemeIcon theme icon}, the icon is derived from {@link resourceUri} if `resourceUri` is defined.
70
+
* - Otherwise, `iconPath` is used.
71
71
*/
72
-
icon?: ThemeIcon;
72
+
iconPath?: IconPath;
73
73
/**
74
74
* Human readable label for the context item.
75
75
* If not set, the label is derived from {@link resourceUri}.
@@ -98,7 +98,7 @@ declare module 'vscode' {
98
98
*/
99
99
command?: Command;
100
100
}
101
-
101
+
//@api should we rename to ChatGlobalContextProvider?
0 commit comments