sublime-sesame
sublime-sesame copied to clipboard
Feature request / idea - Go to folder
Hi, thanks for Sublime-Sesame, I use it daily. I'm using Sesame to switch to different projects. I think it would be nice to then use Sesame to jump to a folder inside a project. E.g.: Open command palette, choose "Sesame Go To", type wp-content/themes/my-theme/resources/js/components
I guess what I want is basically the "Go to anywhere" (Command + P) Sublime functionality, except with folders.
Is it doable? Would it be worth a pull request?
By "jump to a folder inside a project", you mean it would open a new Sublime window with that folder?
Basically Sesame: Open for any folder that can be navigated to inside the sidebar.
A problem could be the size of that list could be huge. Especially when you
consider directories like node_modules
, vendor
, etc.
The funtionaility for displaying, selecting, opening the folder is there, so main addition is a routine to create the list of possible folders to choose from.
I'll try it to see what the performance is like for large folder structures. Maybe some exclusion list config for folders like node_modules, and limits on the size will help with any performance issues.
Thanks for the reply! What happens is that I often "Sesame open" a specific folder / project, and then want to focus on a nested folder inside that project. (E.g. resources/scripts/components -> i want to locate "components" in the tree).
My current workaround is: hit CMD+P ("Goto Anything") and go to a file that's in the "components" folder. I can't select the folder itself, because Goto Anything doesn't support folders. I then "Locate" the file, which shows it in the tree. So no opening a new window.
I was thinking this could maybe be streamlined by Sesame... but maybe it's out of scope and not really what's Sesame about. Any thoughts are appreciated though.
Once again thanks for the reply and the plugin, it's really an essential part of my setup!