GitHub's In-Built New Feature: Quickly Open Any Repository In Visual Studio Code
Tags: javascript, react, node, codenewbie
Published: 2021-08-12 08:07:38

### Introduction

GitHub has added in-built support to easily open your repository in Visual Studio Code.

Previously, we either need to use [octotree](https://levelup.gitconnected.com/how-to-browse-project-files-on-github-as-if-you-are-browsing-in-your-ide-1022f153af42?source=friends_link&sk=259b3aea4a293b09a21e8871234dfa20) extension to browse files or use [github1s](https://github.com/conwnet/github1s) to view in Visual Studio Code.

But github1s was opening just a read-only editor where you can't make any modifications to files.

Now, with GitHub's in-built support, you can quickly open any GitHub repository in Visual Studio Code and get the look and feels of it. 

Almost all the features of Visual Studio Code you can explore in this feature.

## How to Open Repository in Visual Studio Code

Just press . (dot) on your keyboard when browsing any GitHub repository and it will be opened in Visual Studio Code on the browser.

For example, Suppose, you're on [Spotify Music Search App Repository](https://github.com/myogeshchavan97/spotify-music-search-app) and you press . (dot), then you'll be redirected to Visual Studio Code with your repository opened in it as shown below:

{% youtube mII50cepKg4 %}

It's so cool 😍.

Currently, you can't open a terminal to execute the code. But you get the full power and feel of Visual Studio Code and you can even edit the code.

> For now, If you want to execute the code in the repository, you can replace the github with githubbox in your GitHub repository URL and it will open CodeSandbox where you can see your code and execute it.

For example, the URL [https://github.com/myogeshchavan97/spotify-music-search-app](https://github.com/myogeshchavan97/spotify-music-search-app) will become [https://githubbox.com/myogeshchavan97/spotify-music-search-app](https://githubbox.com/myogeshchavan97/spotify-music-search-app) after replacing github with githubbox.

**To learn more about the Visual Studio Code Web editor, check out [this link](https://github.com/features/codespaces)**.

### Thanks for reading!

Check out my recently published [Mastering Redux](https://master-redux.yogeshchavan.dev/) course.

In this course, you will build 3 apps along with food ordering app and you'll learn:

* Basic and advanced Redux
* How to manage the complex state of array and objects
* How to use multiple reducers to manage complex redux state
* How to debug Redux application
* How to use Redux in React using react-redux library to make your app reactive.
* How to use redux-thunk library to handle async API calls and much more

and then finally we'll build a complete [food ordering app](https://www.youtube.com/watch?v=2zaPDfCKAvM) from scratch with stripe integration for accepting payments and deploy it to the production.

[<img src="https://gist.github.com/myogeshchavan97/98ae4f4ead57fde8d47fcf7641220b72/raw/c3e4265df4396d639a7938a83bffd570130483b1/banner.jpg">](https://bit.ly/3w0DGum)

**Want to stay up to date with regular content regarding JavaScript, React, Node.js? [Follow me on LinkedIn](https://www.linkedin.com/in/yogesh-chavan97/).**

[<img src="https://cdn.buymeacoffee.com/buttons/default-yellow.png" >](https://www.buymeacoffee.com/myogeshchavan97)