Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I close a folder in Sublime Text?

After opening Sublime Text 3, I chose to open a folder. This was a git repo, containing some folders that were static files which are cluttering up the folder list.

When I right-click on a folder, there is no 'close' option. The antonym of open is close, not delete, so I'm definitely not clicking that!

I've heard Sublime is very scriptable, is there some way I can add a close button to the right-click menu of the folder list?

edit: I just created a test directory structure: test/ test/testA/ test/testB/ test/testC/

opened the test folder from Sublime Text 3, then clicked delete from the right-click menu on testB, after clicking confirm or yes to confirm, I saw the directory WAS ACTUALLY DELETED, not deleted from Sublime's state. :(

like image 914
nmz787 Avatar asked Feb 22 '14 03:02

nmz787


People also ask

How do I close all files in Sublime Text?

Now you can close all open files with “shift+super+ctrl+w”.

How do I close a Sublime Text 3 project?

Using the project manager plugin, Ctrl+Shift+W properly closes the project and then exits Sublime, and that's the behaviour I'd like to see as default when exiting Sublime.


1 Answers

I'm using Sublime Text 3. Right click on the folder and then select "Remove folder from project". Guess you don't have it in the older versions.

like image 191
rohithpr Avatar answered Oct 03 '22 02:10

rohithpr