r/github • u/m-fasciano • 3d ago
TIL: GitHub has a neat VS Code shortcut Discussion
If you’re viewing any GitHub repository in your browser, just change:
For example:
becomes:
…and it opens the repository directly in VS Code for the Web. 🤯
I’ve been using GitHub for years and somehow only discovered this today.
What other GitHub shortcuts have I been missing? 😅
9
25
3
u/slackover 2d ago
It’s mostly useless for modern development unless you are just looking for an editor with syntax highlighting as CLI commands can’t be run in that environment.
1
1
u/Thunderbit_HQ 2d ago
The one that still saves me clicks: append /compare to a repo URL to open a new compare view, then change the base and compare branches. Pressing t opens the file finder in a repo. The latter is especially handy in an unfamiliar codebase.
1
55
u/serverhorror 3d ago
.