Qoder IDE was listed twice, as Qoder and as VS Code. Qoder IDE ships
a launcher named code in Contents/Resources/app/bin beside qoder
(checked in the 2026-10-29 Qoder-IDE-darwin-arm64.dmg: product.json
applicationName "qoder", nameShort "Qoder", com.qoder.ide), and its
Windows installers put that bin folder on PATH. VS Code's detection
falls back to a code on PATH, and vscodeCodeBinary ruled out only a
product.json naming Cursor (#931), so any other fork's code counted
as VS Code.
The class fix: a code, code-insiders or codium launcher counts as VS
Code, Insiders or VSCodium only when the product.json beside it
(app/product.json, or resources/app/product.json on Windows and
Linux) names that build in applicationName. With no applicationName,
nameShort must be one of VS Code's own (Code, Code - Insiders,
Code - OSS, Visual Studio Code, VSCodium). A wrapper with no readable
product.json keeps the PATH fallback as before. This covers Cursor,
Qoder IDE, Windsurf, Trae, Kiro, CodeBuddy, Antigravity and any other
fork, on the mac, Linux and Windows layouts. A VS Code User folder
still detects VS Code by itself: a user who has both has both rows.
Run:
- TestVSCodeDetected gains rows for Qoder (mac with the real build's
product.json, linux, windows, symlink), Windsurf, Trae, Kiro,
CodeBuddy, Antigravity, an Insiders product behind code, and
nameShort-only products; TestVSCodeBuildLauncher checks each build's
own command. Broken by hand: with the old vscode.go, 11 of the new
TestVSCodeDetected rows fail (mac/linux/windows qoder, qoder
symlink, windsurf, trae, kiro, codebuddy, antigravity, insiders
product, qoder name).
- Real Qoder IDE: on mote, the dmg's bin folder alone on PATH,
vscodeCodeBinary(".../Qoder IDE.app/.../bin/code") = false and
VS Code not Detected.
- gofmt -l clean; go vet ./internal/agent for darwin, linux (-tags
nogui) and windows on mote.
- go test ./internal/agent -timeout 45m on mote: ok (171.6s) at this change on base abd94e0b1
- At the rebased head (on f49cebb35; nothing in internal/agent changed
since abd94e0b1): TestVSCode* ok on mote.
- win-run TestVSCodeDetected and TestVSCodeBuildLauncher: pass on
Windows 11. wsl-run TestVSCode -tags nogui: pass on Ubuntu 24.04.
Not tried: a real Windows or Linux Qoder IDE install (its Windows
bin layout is assumed from VS Code's installer, which the fork keeps).