Chat view cannot correctly render inline code containing a command with arguments

Open
#322,469 0 comments 0 reactions 1 assignee View on GitHub

@DonJayamanne is already working on this.

Since Jun 22, 2026.

Assessment

This issue has not been assessed yet.

Description

stale triage-needed

Version: 1.126.0-insider (Universal)
Commit: e6f4d6c6f2977850cdae6b9e53f706f3c5faa63b
Date: 2026-06-21T19:43:34-07:00
Electron: 42.2.0
ElectronBuildId: 14159160
Chromium: 148.0.7778.97
Node.js: 24.15.0
V8: 14.8.178.14-electron.0
OS: Darwin arm64 24.6.0

Steps to Reproduce:

  1. Open microsoft/vscode repo.
  2. In Chat, tell Agent to output `./scripts/test.sh src/vs/editor/test/common/model.test.ts src/vs/editor/test/common/range.test.ts` in the response.
  3. The response is: `.test.sh src/vs/editor/test/common/model.test.ts src/vs/editor/test/common/range.test.ts`. The /scripts/ part disappears.
Dominant language
TypeScript
Stars
193k
Forks
42.9k
PR merge metrics
PR metrics pending

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/vscode

All issues in microsoft/vscode

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.