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

An example of using vscode to open a browser to view a html file

2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

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

This article shares with you an example of using vscode to open a browser to view html files. The editor thought it was very practical, so I shared it with you as a reference. Let's follow the editor and have a look.

First, the interface presses Ctrl+Shift+P to display the command panel, enter ctr, and select [Task: configure Task Runner]

Then select [Others], and you can see the default configuration

The final modification is as follows (delete one line):

{"version": "0.1.0", "command": "Chrome", "windows": {"command": "C:/Program Files (x86) / Google/Chrome/Application/chrome.exe"}, "isShellCommand": true, "args": ["${file}"], "showOutput": "never"}

After saving, open the html file and press Ctrl+Shift+B to open the browser.

Thank you for reading! The example of using vscode to open a browser to view html files is shared here. 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 and let more people see it.

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