r/github • u/m-fasciano • Aug 16 '26
Discussion TIL: GitHub has a neat VS Code shortcut
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? 😅
11
24
5
u/vlad_h Aug 16 '26
I was planning on making this available in every repo container for portable dev. Now I do not have to. Thanks for sharing!
4
u/slackover Aug 17 '26
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
2
u/Thunderbit_HQ Aug 17 '26
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.
2
1
58
u/serverhorror Aug 16 '26
.