Press the shortcut key: ctrl ~ After entering the terminal, there are many exit commands. The following will introduce them one by one:
In the drop-down box on the right, There are powershell, ssh, and node options. These three options will change automatically according to the instructions you enter in the terminal or a specific operation.
When you click the " " button, powershell will appear automatically;
When you enter the server address, the drop-down box will automatically display ssh;
When you enter the git command, the drop-down box will automatically display git;
When you enter npm/cnpm run dev and other npm-related instructions, node will be displayed by itself;
These types are based on The operation of the terminal corresponds to the displayed operating environment.
Command to stop the terminal:
In the node environment, shortcut key: ctrl c
In the ssh environment, enter the command: exit
In the git environment, shortcut key: q
Recommended related articles and tutorials: vscode tutorial
The above is the detailed content of How to exit vscode terminal. For more information, please follow other related articles on the PHP Chinese website!