Double VS Code Icon appearing when running 'code' command
Open
@deepak1556 is already working on this.
Since Sep 18, 2026.
new release
- Dominant language
- TypeScript
- Stars
- 193k
- Forks
- 42.7k
- PR merge metrics
- PR metrics pending
Description
Does this issue occur when all extensions are disabled?: Yes/No -- Answer: YES
- VS Code Version: 1.138.0
- OS Version: macOS Tahoe 26.6.2
Steps to Reproduce:
- Run
codecommand (to open a project) in terminal while VS Code is open (macOS) - 2 Icons appear on the Mac taskbar
Notes:
- This issue happens when VS Code is open
- Upon closing VS Code, both icons still appear in the taskbar
- One logo can be opened at a time
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.