A Chrome extension that adds "Open in IDE" buttons to GitHub, letting you jump straight from a file or line on GitHub into your local editor.
- PR "Files changed" — buttons on file headers and line numbers in diffs
- Blob (single file view) — button next to the file name and on each line number
- Click a file header button to open the file in your IDE
- Click a line number button to open the file at that exact line
Note: This extension is built for GitHub's new UI experience. It may not work correctly on the older/classic GitHub UI.
- VS Code
- GoLand
-
Clone the repo and build:
git clone https://github.com/tzachbaksis/github-to-code.git cd github-to-code npm install npm run build -
Open
chrome://extensionsin Chrome -
Enable Developer mode
-
Click Load unpacked and select the
dist/folder
- Click the extension icon in the Chrome toolbar
- Add a repo mapping (e.g.
myorg/myrepo→/Users/me/code/myrepo) - Select your IDE
npm install
npm run build # Typecheck + production build
npm test # Run unit tests
npm run dev # Build in watch modeSee CONTRIBUTING.md for more details.

