Home > Article > Development Tools > 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)
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.
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!