Skip to content

Revert "Accessible View: include file paths for inline references in chat responses"#304331

Merged
alexdima merged 1 commit intomainfrom
revert-301565-copilot/add-file-paths-to-accessible-view
Mar 24, 2026
Merged

Revert "Accessible View: include file paths for inline references in chat responses"#304331
alexdima merged 1 commit intomainfrom
revert-301565-copilot/add-file-paths-to-accessible-view

Conversation

@alexdima
Copy link
Member

Reverts #301565

Copilot AI review requested due to automatic review settings March 24, 2026 01:22
@vs-code-engineering vs-code-engineering bot added this to the 1.114.0 milestone Mar 24, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR reverts prior work that added absolute file path details for inline references in the Chat Response Accessible View, likely to avoid exposing full paths in accessibility/plaintext output.

Changes:

  • Removes the inlineReference rendering branch from ChatResponseAccessibleView’s accessible-view content generation.
  • Drops tests that asserted accessible-view output includes inline reference file paths (and line numbers / basenames).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
src/vs/workbench/contrib/chat/browser/accessibility/chatResponseAccessibleView.ts Removes inline-reference-to-text conversion (previously included paths) from accessible view output.
src/vs/workbench/contrib/chat/test/browser/accessibility/chatResponseAccessibleView.test.ts Removes coverage asserting inline reference paths/locations are present in accessible view output.

@alexdima alexdima enabled auto-merge (squash) March 24, 2026 01:39
@alexdima alexdima merged commit f655846 into main Mar 24, 2026
23 checks passed
@alexdima alexdima deleted the revert-301565-copilot/add-file-paths-to-accessible-view branch March 24, 2026 01:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants