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

How to run code in vscode

藏色散人
藏色散人 Original
2020-12-25 09:58:41 177546browse

How to run code in vscode: 1. Open a script file, then open the command panel, and click "Run active file in active terminal"; 2. Select a piece of code in the editor, and then open Command panel, run "Run selected text in active terminal".

How to run code in vscode

The operating environment of this tutorial: Windows 7 system, visual studio code version 1.36, Dell G3 computer.

Recommended: "vscode tutorial"

How to run code in vscode:

I opened a script file and hope to execute the script file directly. You can open the command panel and click "Run active file in active terminal" to run the code in the currently opened terminal

How to run code in vscode

We can also select a certain file in the editor snippet of code, then open the Command Palette and run "Run Selected Text In Active Terminal" (Run Selected Text In Active Terminal), and this code will be executed in the terminal.

How to run code in vscode

For more programming-related knowledge, please visit:Programming Teaching! !

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