The filter should work the same regardless of grouping mode. Moved all
grouping state management (storage, context key, toggle) to the sessions
view pane, which owns it. The filter just receives the current grouping
via its existing groupResults option callback.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Simplify GROUPING_STORAGE_KEY to a static constant instead of per-instance
scoped key. The grouping override is guarded by supportsGroupingOverride
(only enabled when options.groupResults is configured), which is sufficient
to prevent unintended interference.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Scope grouping storage key per filter instance (filterMenuId) to avoid
cross-instance interference; only enable grouping override when a default
grouping is configured
- Add isStoringGrouping guard to prevent duplicate onDidChange events
when setGrouping writes to storage
- Use full owner/repo as section ID for unique grouping; display short
repo name as section label
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Replace plain spans with getIconClasses() with proper ResourceLabels
and label.setFile() for attachment pills, matching how core chat
attachments render file icons via the monaco-icon-label system.
Add CSS for .monaco-icon-label inside pills to ensure correct sizing
and layout of file icon theme ::before pseudo-elements.
Keep getIconClasses for QuickPick file items where the QuickPick's
internal IconLabel handles rendering.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* plugins/mcp: allow disabling/enabling similar to extensions
Introduces an EnablementModel which is used to allow users to enable and disable both plugins and MCP at both a workspace and global level. Accessible on the mcp/plugins editors, inline within the marketplace view, and in the chat customizations view.
* comments
No sure what this method was doing on the sessions service. Really should be deleted entirely but moving to a better home on the chat service as a first step
Exclude Claude hook file paths from sessions app
Disable the Claude-specific hook file locations (.claude/settings.json,
.claude/settings.local.json, ~/.claude/settings.json) in the sessions
window by setting them to false in the chat.hookFilesLocations config
default. This uses the existing PromptsConfig mechanism for disabling
individual default paths.
Fixesmicrosoft/vscode#300138
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* changes to ensure all the network requests are passed through proxy
* changes to ensure all the network requests are passed through proxy
* changes to quote shell arguments passed to sandbox
* updates to default paths
* chat: add symbol paste provider
Adds PasteSymbolProvider to automatically convert copied symbol
identifiers into chat symbol variable references (@sym:identifier) when
pasting into the chat input.
- Adds ResolvedSymbolReference interface to represent a resolved symbol
with location, icon, and metadata
- Implements CopyTextProvider.prepareDocumentPaste to prime a symbol
reference cache when copying from code editors
- Adds resolveSymbolReference function that uses language definition
providers and document outline to resolve copied identifiers to their
definitions and determine appropriate icons
- Adds symbol reference cache with TTL-based expiration to avoid
repeatedly resolving the same symbols
- Implements PasteSymbolProvider.provideDocumentPasteEdits to detect
when an identifier is pasted into chat input and convert it to a
symbol variable reference
- Registers PasteSymbolProvider alongside other paste providers in
ChatPasteProvidersFeature
(Commit message generated by Copilot)
* comment
* Add filter actions to ActionList and manage models option in chat model picker
* Refactor model picker to support additional entries and improve manage models action handling
* Refactor model picker to conditionally add separator for additional entries and streamline manage models action handling
* Improve manage models action visibility logic in ModelPickerWidget
* Refactor model picker to streamline additional entry handling and improve action management
* Refactor model picker to integrate manage models action and streamline additional entry handling
* Remove unused IConfigurationService references from workspaceContextService
* Refactor configuration service creation in SessionsMain to streamline workspace context handling