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

How to run code with vscode

王林
王林Original
2020-02-11 17:55:0713666browse

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!

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