Tyriar / vscode-terminal-here

VS Code extensions that creates an integrated terminal session at the current file's directory
https://marketplace.visualstudio.com/items?itemName=Tyriar.vscode-terminal-here
33 stars 11 forks source link

Suggestion: Introduce optional toggle behaviour #8

Closed carlca closed 5 years ago

carlca commented 6 years ago

Hello, is there any chance that the option could be introduced whereby invoking Terminal Here on on existing open terminal simply closed it, in other words making it a toggle operation. Maybe it could be configurable:

"editor.terminal-here": "toggle"/"immediate"

Tyriar commented 6 years ago

It's definitely possible to just open one of the terminals that was previously opened. My only concern here is that it might feel a little weird if the cwd was changed after opening it, as VS Code and the extension has no knowledge of the cwd of a terminal after it has been opened.

Tyriar commented 5 years ago

This extension is now deprecate, see https://github.com/Tyriar/vscode-terminal-here/issues/20