Close a folder in vscode

Viewed 32

enter image description here

I've had a change of file name and also I want to close this folder from the explorer, and also open a new one.

So my requests are:

  • How do I close this file and reopen it
  • How do I close the folder tab entirely so no folders are opened
1 Answers

Go to File > Close Folder/Workspace OR use Ctrl/Cmd + K F as keyboard shortcut.

Use Ctrl + W to close a file.

Related