I opened few files during coding (both files in project and out project). After that, I close few in its (by ctrl+w
and click the 'x' button). When type ctrl+tab
, I always see all opened files.
I try to restart VSCode, restart Windows but nothing change.
How do I close unnecessary files?
I use VS Code 1.0 + Windows 10.
Edit: This feature added in new versions
Press Ctrl + Shift + P. Then, within the Quick Open bar, type in >Clear Recently Opened.
Navigate to your project under the Visual Studio Projects folder. Right-click the project and select Delete. A delete confirmation appears. Click OK.
VS Code maintains a debug session while the program is running, and pressing the Stop button terminates the program.
If you want to clear a specific item (not the whole list) from the recently opened list you have to
Ctrl + SHIFT + P
Remove From History
(in earlier version it is Remove From Editor History
) and press EnterSource: link
Update 09.04.2020:
With the release of Visual Studio Code 1.44.0 you can easily remove a file using the UI. You see a closing x
next to a file in this recently opened files view:
I could be mistaken but you don't want to delete, but "clear" recently opened files. If that is the case, then follow these steps in regards to VS Code version 1.15.0:
>Clear Recently Opened
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With