How to open any GitHub repository in VS Code Web with one key

·

1 min read

Yes you can now open any GitHub repository or pull request, in a web version of VS Code directly in your browser, you can then browse files, edit, save.

Just browse to the repository that you want to edit, on your keyboard hit the ( . ) key and a new VS Code opens directly in your browser, with syntax highlighting, files, extensions, search, git source control.

Source: GitHub

GitHub says:

“It’s a quick way to edit and navigate code. It’s especially useful if you want to edit multiple files at a time or take advantage of all the powerful code editing features of Visual Studio Code when making a quick change. For more information, see our documentation.”

We can get the same result by changing the “.com” in the repository URL to “.dev”, for example

https://github.com/adelpro/MERN-auth-roles-boilerplate

Will become

https://github.dev/adelpro/MERN-auth-roles-boilerplate

An other solution is to add “1s” to the URL like this

https://github1s.com/adelpro/MERN-auth-roles-boilerplate

This not provided but GitHub, check this repository: https://github.com/conwnet/github1s

You can also use https://gitlab1s.com or https://npmjs1s.com in the same way.

But in this case you can not edit your code.