mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-20 02:08:47 +00:00
Context categories should end with ... (#278615)
This commit is contained in:
@@ -54,7 +54,8 @@ export class ChatContextService extends Disposable {
|
|||||||
if (!providerEntry || !providerEntry.picker || !providerEntry.chatContextProvider) {
|
if (!providerEntry || !providerEntry.picker || !providerEntry.chatContextProvider) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this._registeredPickers.set(id, this._contextPickService.registerChatContextItem(this._asPicker(providerEntry.picker.title, providerEntry.picker.icon, id)));
|
const title = `${providerEntry.picker.title.replace(/\.+$/, '')}...`;
|
||||||
|
this._registeredPickers.set(id, this._contextPickService.registerChatContextItem(this._asPicker(title, providerEntry.picker.icon, id)));
|
||||||
}
|
}
|
||||||
|
|
||||||
registerChatContextProvider(id: string, selector: LanguageSelector | undefined, provider: IChatContextProvider): void {
|
registerChatContextProvider(id: string, selector: LanguageSelector | undefined, provider: IChatContextProvider): void {
|
||||||
|
|||||||
Reference in New Issue
Block a user