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 Display git by itself;
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, and the running environment is displayed accordingly. .
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 the current terminal in vscode. For more information, please follow other related articles on the PHP Chinese website!