Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Go To File From DiffNew to Visual Studio Code? Get it now.
Go To File From Diff

Go To File From Diff

Stefano Chiodino

|
3 installs
| (0) | Free
Open the working file at the same line from a Git diff.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Go To File From Diff (VS Code)

Open the working file at the same line from a Git diff.

Requirements

  • VS Code 1.85+

Install

  • From VSIX: package then install
    • npm i
    • npx --yes @vscode/vsce package
    • code --install-extension go-to-file-0.0.1.vsix
  • Dev: press F5 to launch the Extension Development Host

Usage

  1. Open a Git diff.
  2. Run command: Go To Working File At Line.
  3. Or press the keybinding below.

Commands

  • go-to-file.navigate: Go To Working File At Line

Keybindings

  • macOS: cmd+alt+o
  • Windows/Linux: ctrl+alt+o

Development

  • Build: npm run compile
  • Watch: npm run watch
  • Package: npm run package or npx --yes @vscode/vsce package --allow-missing-repository

License

  • MIT
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft