Microsoft/vscode

Git - Reveal in Explorer View not working for diff file view

Open

#240,657 opened on Feb 13, 2025

View on GitHub
 (2 comments) (0 reactions) (1 assignee)TypeScript (10,221 forks)batch import
buggithelp wantedteam-low-hanging

Repository metrics

Stars
 (74,848 stars)
PR merge metrics
 (Avg merge 11h 43m) (1,000 merged PRs in 30d)

Description

Type: Bug

If you open a file from source control to see changes, and right click the tab, Reveal in Explorer View, nothing happens. It should focus on the file in the source tree.

Also the icon on top right that lets you switch between current/diff file (Open file) is not there when it's a new file with a green A in source control. This icon is handy in same way as Reveal in Explorer View.

VS Code version: Code 1.97.1 (e249dada235c2083c83813bd65b7f4707fb97b76, 2025-02-10T13:13:58.153Z) OS version: Windows_NT x64 10.0.22631 Modes:

Contributor guide