Open Git Staged Files
Open every Git-staged file in one go. Optionally close all editors first.
Features
- Open all staged files with one command.
- Optional “close all editors, then open staged files” workflow.
- Uses the built-in Git extension; no extra configuration.
Commands
Open Git Staged Files: Close and Open (openStagedFiles.closeAndOpen)
Open Git Staged Files: Open (openStagedFiles.open)
How to Use
- Stage the files you want to review.
- Run one of the commands above from the Command Palette.
- The extension opens the staged files and shows how many were opened. If no files are staged, an info message appears.
Requirements
- VS Code 1.85+ and the built-in Git extension (
vscode.git).
Known Limitations
- When multiple repositories are present, only the first one is used.
| |