Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request / idea - Go to folder #13

Open
mgussekloo opened this issue Apr 23, 2021 · 2 comments
Open

Feature request / idea - Go to folder #13

mgussekloo opened this issue Apr 23, 2021 · 2 comments

Comments

@mgussekloo
Copy link

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?

@gerardroche
Copy link
Owner

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.

@mgussekloo
Copy link
Author

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants