'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.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source