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

How to run code in vscode

angryTom
angryTomOriginal
2020-03-13 14:17:2414570browse

How to run code in vscode

How to run code in vscode

How to run code in VSCode, the integrated terminal and resource manager also interact. For example, if we open a script file and want to execute the script file directly, we canopen the command panel and run "Run Active File In Active Terminal"(Run Active File In Active Terminal), so that the script will It will be run in the currently opened integrated terminal.

Note: command shift p opens the command panel (or click the menu bar to view >Command Panel)

How to run code in vscode

We can also select a certain paragraph in the editor code, thenopen the command panel and run "Run Selected Text In Active Terminal"(Run Selected Text In Active Terminal), this code will be executed in the terminal.

How to run code in vscode

Recommended related articles and tutorials: vscode tutorial

The above is the detailed content of How to run code in 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