Home > Development Tools > VSCode > How to run code with vscode

How to run code with vscode

王林
Release: 2020-02-11 17:55:07
Original
13736 people have browsed it

How to run code with vscode

For example, if we open a script file and want to execute the script file directly, we can open the command panel and run "Run Active File In Active Terminal" ), so that the script will run in the currently opened integrated terminal, as shown below:

How to run code with vscode

We can also select a certain piece of code in the editor and then open the command Panel, run "Run Selected Text In Active Terminal" (Run Selected Text In Active Terminal), this code will be executed in the terminal, as shown in the figure:

How to run code with vscode

More article tutorial recommendations: vscode tutorial

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template