How to Launch VS Code in Any Github Repo

Photo by Richy Great on Unsplash

How to Launch VS Code in Any Github Repo

I learned this magical trick a couple weeks ago, although this feature was added in 2011. The trick comes very handy when are reading some code from Github in your browser. You know how uncomfortable it can be clicking back and forth from page to page to find the required line or function. You have an option to launch VS Code directly in the repo - just click only one button . (dot) and an IDE with the familiar interface will appear there, but in the read-only mode.

As an example I used a repository with The Collab Lab project I am currently working on. The browser is Chrome v.104.0.5112.79

VS Code launched in Github repo in Chrome browser