[pull] main from microsoft:main#1234
Merged
pull[bot] merged 102 commits intoKingDEV95:mainfrom Mar 27, 2026
Merged
Conversation
Fixes #278930 This commit fixes the scroll synchronization issues between the markdown editor and preview when scrolling through code blocks: 1. **Code block line tracking**: Added endLine calculation for fenced code blocks by counting newlines, enabling accurate line-to-position mapping within multi-line code blocks. 2. **Padding-aware scrolling**: Implemented getContentBounds() to calculate scroll positions excluding padding, preventing jumps when scrolling through code blocks with padding. 3. **Scroll loop prevention**: Changed scroll disable flags from counters to timer-based booleans (50ms) to prevent infinite sync loops while maintaining smooth bidirectional synchronization. The fix ensures smooth scrolling through code blocks without jumping or stuttering in both directions (editor ↔ preview).
SVG images that rely solely on a viewBox attribute (without explicit width/height) could not be zoomed in the image preview because they have no intrinsic dimensions. CSS zoom had no effect since the SVG would simply re-render to fill whatever container size it was given. - Set explicit minWidth/minHeight on the image element when naturalWidth/naturalHeight are 0, giving CSS zoom concrete pixel dimensions to scale - Handle firstZoom() division by zero when naturalWidth is 0 by defaulting to scale 1x - Clear explicit dimensions when returning to scale-to-fit mode Fixes #240638
Fixes #304483
* enhance session item toolbar visibility for pinned sessions * add pinned indicator to session item toolbar for better visibility * refactor: simplify session filtering logic by removing pinned session checks
…05243) * session reference as context * Feedback changes * Add non local sessions --------- Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>
* Enhance sidebar animation: keep title/footer fixed while body content slides in * Refine sidebar animation: ensure header and footer remain static during reveal * Disable transitions and animations for sidebar title actions and global actions * Refine sidebar reveal animation: ensure header/footer remain static while preserving interaction feedback * Remove unnecessary transition and animation rules for sidebar header and footer to maintain interaction feedback during reveal * sessions: address PR review feedback Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: mrleemurray <mrleemurray@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
fix: persist test coverage sort order across sessions
…nner Pick up TS 6.0
… not as a dropdown with an empty context menu (#305307) * ButtonBar - if a submenu only has one item, render it as a button and not as a dropdown with an empty context menu * Fix typo
* Only load the changes from last turn when needed * Update action rendering * Update title actions/context when switching sessions * Add progress indicator --------- Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>
Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>
Multi chat support
* Fix ctrl+/- not working on Windows Copilot CLI * remove unncessary * Changes * more test --------- Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>
…-features (#305335) Bump brace-expansion in /extensions/json-language-features Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 5.0.3 to 5.0.5. - [Release notes](https://github.com/juliangruber/brace-expansion/releases) - [Commits](juliangruber/brace-expansion@v5.0.3...v5.0.5) --- updated-dependencies: - dependency-name: brace-expansion dependency-version: 5.0.5 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
chat: remove deprecated user-invokable prompt attribute Co-authored-by: xingsy97 <xingsy97@outlook.com> Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>
Remove `getInProgressSessionDescription` from interface
Remember panel visibility per session
…features (#305337) Bump brace-expansion in /extensions/css-language-features Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 5.0.2 to 5.0.5. - [Release notes](https://github.com/juliangruber/brace-expansion/releases) - [Commits](juliangruber/brace-expansion@v5.0.2...v5.0.5) --- updated-dependencies: - dependency-name: brace-expansion dependency-version: 5.0.5 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…-features (#305338) Bump brace-expansion in /extensions/html-language-features Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 5.0.3 to 5.0.5. - [Release notes](https://github.com/juliangruber/brace-expansion/releases) - [Commits](juliangruber/brace-expansion@v5.0.3...v5.0.5) --- updated-dependencies: - dependency-name: brace-expansion dependency-version: 5.0.5 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
… editing (#305300) * Enhance AI Customization Management Editor with confirmation handling and dirty state tracking * Improve dialog handling by waiting for keyboard events to propagate before opening confirmation * Refactor AI Customization Management Editor to replace confirmation handling with save handling * Add escape key handling to close dialog only if previously pressed * Address review: guard save() against auto-save, reset editor dirty baseline - Only run the pick-target save flow on explicit saves (not auto-save from focus/window changes) - Reset _editorContentChanged after successful save so the embedded editor stays clean until the next edit (updateEditorActionButton propagates this to input.setDirty via updateInputDirtyState) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Use `/act-on-feedback` command in submit feedback actions
Sessions: progress icons should override PR icons
* Reconnect to in-progress remote agent host chat sessions When opening a remote agent host session that has an active (in-progress) turn, the chat UI now reconnects to it and streams ongoing progress instead of only showing completed turns as history. Key changes: - activeTurnToProgress() converts accumulated active turn state into IChatProgress[] for initial replay - provideChatSessionContent detects activeTurn on session state, includes it in history, and wires up live streaming via progressObs - _reconnectToActiveTurn(): streams incremental text/reasoning/tool call/permission updates, handles turn completion, dispatches turnCancelled on interrupt, resolves pending permissions interactively - Fixes live object identity (reuses ChatToolInvocation instances from initial progress), snapshot-to-listener race (immediate reconciliation), and proper cancellation dispatch (Written by Copilot) * Address Copilot review: fix empty initialProgress guard and handle completed tool calls between snapshots (Written by Copilot) * Fix test failures: add partId to delta action, add _meta.toolKind for terminal tool --------- Co-authored-by: Copilot <copilot@github.com> Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>
…kdown-preview Fix janky scrolling in markdown preview with code blocks
Improve session grouping by ensuring "No Workspace" sessions appear at the bottom
… on language presence (#304612) * Improve confirmation message localization for terminal commands based on language presence * Updates * Updates * Fix tests
* Sessions - polish changes filter action * Apply suggestion from @Copilot Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…adge (#305347) * sessions: convert built-in prompts to skills and add UI Integration badge - Move all 6 built-in prompts from vs/sessions/prompts/ to vs/sessions/skills/{name}/SKILL.md with proper frontmatter - Remove the built-in prompt discovery system (discoverBuiltinPrompts, getBuiltinPromptFiles, BUILTIN_PROMPTS_URI) from AgenticPromptsService - Simplify listPromptFiles/listPromptFilesForStorage to only handle skills as the built-in type - Add getSkillUIIntegrations() to IAICustomizationWorkspaceService interface, returning a map of skill names with UI surface connections - Sessions implementation maps act-on-feedback (Submit Feedback button) and generate-run-commands (Run button) to tooltips - Show 'UI Integration' badge in the customizations editor for skills that drive UI surfaces, including user overrides of those skills - Update AI_CUSTOMIZATIONS.md to reflect the simplified architecture Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * address review feedback: stable folder-name lookup, safe builtin fallback, shared empty map - Use basename(dirname(skill.uri)) instead of skill.name for UI integration lookup so badge persists even if frontmatter name changes - Return [] for BUILTIN_STORAGE on non-skill types instead of delegating to super (which would throw) - Use a shared static empty map in the core VS Code implementation to avoid repeated allocations Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * add built-in skills with UI integration badges for sessions * add missing UI Integration mappings for all toolbar-connected skills Add create-pr, create-draft-pr, update-pr, merge-changes, and commit to the skill UI integrations map. These are all triggered by buttons in the Changes toolbar. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )