Home  >  Article  >  Development Tools  >  How to open vscode browser

How to open vscode browser

藏色散人
藏色散人Original
2019-11-12 11:33:3222572browse

How to open vscode browser

How to open vscode browser?

vscode settings to view the html page in the browser

First open the program and write an html program.

How to open vscode browser

Then click the extension on the fifth row on the left, or use the shortcut key ctrl shift X to open the extension bar.

Recommended tutorial: vscode tutorial

How to open vscode browser

Enter "open in browser" in the search bar of the extension bar, and then you can find it Open in browser is a plug-in, and the word "Install" will be displayed in the lower right corner of the plug-in.

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

How to open vscode browser

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

How to open vscode browser

#Go back to the html document you created at the beginning and you can use shortcut keys to run it. You can also right-click on the HTML document and choose to open it with the default browser or another browser in the pop-up window.

How to open vscode browser

If you choose to open in other browsers, the command box in the middle will display the browsers that can be used, just select the browser name you need, here we use Try chrome.

How to open vscode browser

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

How to open vscode browser

The above is the detailed content of How to open vscode browser. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn