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 does vscode choose a browser

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

Share

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

This article will explain in detail how to choose a browser for vscode. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.

How does vscode choose a browser? how does vscode right-select a browser to run html files?

When we use Vscode software to write html, we generally want to right-click to select the html file, and then directly select the browser to run, but the default is not.

Recommended for related articles and tutorials: vscode tutorial

The following editor will share with you how to set it up.

First, let's create a new html file, which you can write in notepad, as shown in the following figure.

Then import the html file into the VsCode software, as shown in the following figure

We right-click directly in the html file and you find that you do not select the option for the browser to run.

Then click the last button on the left, enter the following in the input box, and click the installation of the first one

Then we right-click, and then we have the Open In default browse option, as shown in the following figure.

In addition, we can also select Open in other browse and select a browser in the pop-up interface.

Related introduction:

The editor also integrates all the features that a modern editor should have, including syntax highlighting (syntax high lighting), customizable hotkey binding (customizable keyboard bindings), parenthesis matching (bracket matching) and code snippet collection (snippets). Somasegar also told me that the editor also has out-of-the-box support for Git.

Visual Studio Code provides a wealth of shortcut keys [3]. Users can use the shortcut key [Ctrl] + [K] + [S] (hold down the Ctrl key, and then press the K key and S key) to call up the shortcut key panel and view all the shortcut key definitions. You can also double-click any shortcut key in the panel to specify a new shortcut key for a function. Some predefined common shortcuts include: formatting the document (sorting out all the code in the current view), [Shift] + [Alt] + [F]; formatting the selection (sorting out some of the selected code in the current view), [Ctrl] + [K] + [F]; zooming in, [Ctrl] + [Shift] + [=]; zooming out, [Ctrl] + [Shift] + [-] Open a new external terminal (open a new command prompt): [Ctrl] + [Shift] + [C].

This is the end of this article on "how to choose a 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, please 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