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 open a browser with vscode

2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

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

This article is about how vscode opens the browser. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

How does vscode open the browser?

Vscode settings to view html pages in a browser

First of all, open the program and write a html program.

Then click on the expansion in the fifth line on the left, or use the shortcut key ctrl+shift+X to open the extension bar.

Recommended tutorial: vscode tutorial

Type "open in browser" in the search bar of the extension bar, and then you can find the open in browser plug-in. The plug-in will display the word installation in the lower right corner of the plug-in.

Because I have already installed it here, the installation is not displayed.

After the installation is complete, you can check the documentation, which contains the shortcut keys used by the plug-in. It is shown as Alt+B; in the default browser and Shift+Alt+B in other browsers.

Back to the html document you started creating, you can run it using keyboard shortcuts. You can also right-click the html document and choose to open it with the default browser or another browser in the pop-up window.

If you choose to open it in another browser, the command box in the middle will show which browser you can use. Just choose the browser name you want. Let's try using chrome here.

You can see that the program was successfully run in the browser.

Thank you for reading! This is the end of the article on "how to open the browser for vscode". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

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

Internet Technology

Wechat

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

12
Report