Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to read Github code directly on VS Code

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article mainly introduces "how to read Github code directly on VS Code". In daily operation, I believe many people have doubts about how to read Github code directly on VS Code. Xiaobian consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubt of "how to read Github code directly on VS Code". Next, please follow the editor to study!

I believe programmers all know that VS Code and Github are two major tools, the former is one of the favorite editors for programmers, and the latter is the most popular code hosting platform for programmers.

The two seem unrelated, but a big guy on Github has developed a tool, github1s, and has linked them together, which means that from now on, you can open GitHub code directly in VS Code!

Github1s has made a star of 13.5K on Github in a short time, and has directly ranked No. 1 on the Github hot list.

(Github address: https://github.com/conwnet/github1s).

Why is this project called github1s? The creator explained it as:

It allows you to open code on GitHub in less than 1 second (commonly known as + 1s) through the online version of VS Code.

How do I use github1s?

The use of github1s is very simple, take the github1s project's own code as an example, the first behavior github1s in the project address of GitHub, that is, the formal web version provided by GitHub, and directly add 1s after github, and then visit, you can open an online version of VS Code, and load all the project code in this VS Code.

Although it is very easy to use and load quickly, it also has some drawbacks, because the application uses Github API to load the repository and extract all files, so you also need to consider the API speed limit, such as 60 unauthenticated requests per hour. With OAuth authorization, you can have up to 5000 requests per hour.

In short, Github1s is a good tool for quick browsing of repositories, and the creators have added extensions to it for ease of use.

After installation, you only need to right-click on the GitHub project page, and the corresponding option will appear, which can be converted to VS Code with one click.

At this point, the study on "how to read Github code directly on VS Code" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report