简体   繁体   中英

How do you unsplit terminals in VSCode?

有一个拆分终端的按钮,没有拆分终端的按钮?

click on the sub-terminal (added terminal when you split main terminal) and then click on the trash icon. it will only kill that sub-terminal and leave the main terminal.

Another alternative is to type exit on the terminal you want to close. To switch focus among splitted terminals, you can use alt + left / right arrow, if you prefer not reaching for the mouse.

在 Mac 上,我只需要按Ctrl + D即可终止当前终端。

Ctrl + D 也适用于 Windows。

If you want to unsplit them but keep them both around and not delete one of them, drag one of the split terminals into the editor area. Then drag it back down into the terminal area. This works for me on VS code 1.58.1 on Windows 10.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM