Home Download Buy Blog Forum Support

Ability to remove single folder from project

Ability to remove single folder from project

Postby singingwolfboy on Sun Jan 30, 2011 3:43 pm

I'm running Sublime Text 2 on OSX, and I can't seem to figure out how to delete a single folder from a project. I see that you can remove all folders by going to Project -> Remove All Folders From Project, but I can't seem to delete folders individually. It would make sense to be able to drag folders out of the sidebar and have them vanish, the way the sidebar works in Finder. It would also make sense to be able to highlight a folder and press the delete key, and also have it vanish, or fly out to the right. However, neither method seems to work and I don't know what else to try.
singingwolfboy
 
Posts: 3
Joined: Sun Jan 30, 2011 3:33 pm

Re: Ability to remove single folder from project

Postby jps on Sun Jan 30, 2011 8:28 pm

There isn't a way to remove just a single folder in the current alpha - there will be in the future though, it's early days yet.
jps
Site Admin
 
Posts: 3058
Joined: Wed Mar 19, 2008 12:33 pm

Re: Ability to remove single folder from project

Postby b3b0p on Tue Feb 01, 2011 11:50 pm

Thanks, I came to ask about this.
b3b0p
 
Posts: 2
Joined: Tue Feb 01, 2011 11:48 pm

Re: Ability to remove single folder from project

Postby atambo on Thu Feb 17, 2011 2:38 pm

This is implemented in build 2025! Check it out: http://www.sublimetext.com/dev
atambo
 
Posts: 8
Joined: Tue Feb 15, 2011 3:15 pm

Re: Ability to remove single folder from project

Postby jbrooksuk on Thu Feb 17, 2011 3:05 pm

You can remove a "project" folder, but not folders within a "project".
jbrooksuk
 
Posts: 689
Joined: Sun Apr 11, 2010 10:37 am
Location: England

Re: Ability to remove single folder from project

Postby atambo on Thu Feb 17, 2011 3:17 pm

jbrooksuk wrote:You can remove a "project" folder, but not folders within a "project".

You could use the "folder_exclude_patterns" preference to exclude the folders you don't want.
atambo
 
Posts: 8
Joined: Tue Feb 15, 2011 3:15 pm

Re: Ability to remove single folder from project

Postby withoutclass on Tue Aug 02, 2011 8:27 pm

Is it possible to make this functionality a bit more specific? For instance, I have 2 folders with the same name in different parts of my project, but I only want to hide one of the folders. For instance one is at the root level, and one at a different level in the directory structure.

e.g.

App/foo

vs

App/bar/foo
withoutclass
 
Posts: 4
Joined: Tue Aug 02, 2011 8:23 pm

Re: Ability to remove single folder from project

Postby Cottser on Thu Oct 13, 2011 1:54 pm

It would be great to be able to remove any folder in the hierarchy via the contextual menu instead of needing to mess with the folder_exclude_patterns.
Cottser
 
Posts: 22
Joined: Sat Oct 08, 2011 12:24 am

Re: Ability to remove single folder from project

Postby adavsko on Wed Aug 15, 2012 8:31 pm

Bumping this. It would be nice if the "folder_exclude_patterns" was not recursive. Currently, if I have a folder included with the path "/c/code/myproject", and that folder contains a folder "myfolder" which I want to exclude, but a folder named "myfolder" also exists within another folder in the "myproject" folder, both of the "myfolder" folders will end up being excluded. This isn't ideal. :)
adavsko
 
Posts: 1
Joined: Wed Aug 15, 2012 8:26 pm

Re: Ability to remove single folder from project

Postby madnomad on Thu Aug 16, 2012 3:14 pm

adavsko wrote:Bumping this. It would be nice if the "folder_exclude_patterns" was not recursive. Currently, if I have a folder included with the path "/c/code/myproject", and that folder contains a folder "myfolder" which I want to exclude, but a folder named "myfolder" also exists within another folder in the "myproject" folder, both of the "myfolder" folders will end up being excluded. This isn't ideal. :)

You can make the pattern more specific and that way it won't recurse:
In "folder_exclude_patterns" instead of "myfolder" write "myproject/myfolder", this way it will exclude only that one and leave in /myproject/foo/myfolder and the rest.
madnomad
 
Posts: 18
Joined: Tue Aug 14, 2012 8:34 pm

Next

Return to Ideas and Feature Requests

Who is online

Users browsing this forum: Majestic-12 [Bot], Yahoo [Bot] and 14 guests

cron