Ress
Ress

Reputation: 780

Make vscode explorer follow the terminal

Is there a way to make vscode explorer follow the terminal? Mobaxterm has such capability. I usually ssh into a remote system and such a feature would be very desirable. Currently, I cd to a directory, then copy and paste the path to "Open Folder" in vscode which takes some time.

I know clt+click on the path in the terminal opens a new vscode window, but that is not very helpful. I am interested explorer automatically follow the terminal.

Upvotes: 8

Views: 2373

Answers (1)

Andreas Ranzmaier
Andreas Ranzmaier

Reputation: 17

You can use the terminal command code . --reuse-window to open the folder you are currently in.

Upvotes: 0

Related Questions