The method of exiting terminal by vscode
This article will explain in detail the method of exiting the terminal of vscode for you. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.
Press the shortcut key: ctrl+ ~ after entering the terminal, there are many kinds of exit instructions, which are introduced one by one below:
In the drop-down box on the right, there are powershell, ssh, and node options, which will change according to the instructions you enter at the terminal or a specific manipulation.
When you click the "+" button, powershell will appear on its own.
When you enter the server address, the drop-down box will display ssh by itself
When you enter the git instruction, the drop-down box will display git by itself
When entering npm-related instructions such as npm/cnpm run dev, node will be displayed automatically.
These types are based on the operation of the terminal, the corresponding display of the running environment.
Command to stop the terminal:
In the node environment, shortcut key: ctrl + c
In the ssh environment, enter the instruction: exit
In the git environment, the shortcut key: Q
This is the end of this article on how to exit the terminal of vscode. I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it out for more people to see.