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

Open Go packages by adding their folder to sidebar? #553

Open
dmitshur opened this Issue Aug 29, 2014 · 3 comments

Comments

Projects
None yet
1 participant
@dmitshur

dmitshur commented Aug 29, 2014

GoSublime has a very useful feature "Browse Packages", activated via Cmd+.,Cmd+O. I use it all the time.

image

However, once you find a package you want to "open", it presents a list of files.

image

Usually I want to work with that package in general, so having to pick a single file (which file do I open?), or repeat the step to open all files (which could be as many as 5-10+) is pretty inconvenient.

I know Sublime Text 3 has API to open folder/add folder to project, which adds it to sidebar. I think it would be super useful if GoSublime would let me open Go package folders that way.

image

What are your thoughts on this idea/proposal?

@dmitshur

This comment has been minimized.

dmitshur commented Sep 28, 2014

Note that this doesn't have to replace the current ability to open individual files. The smallest change would be to add a new item entry called "Add Folder to Project" or similar. So you can still do everything you can do now, or add the folder to sidebar for convenience.

@dmitshur

This comment has been minimized.

dmitshur commented Nov 17, 2014

As a temporary workaround until this is supported in GoSublime directly, I made https://gist.github.com/shurcooL/c99a5a32551906f8a147 that adds the folder containing current file to sidebar when I press F3.

@dmitshur

This comment has been minimized.

dmitshur commented Jan 19, 2015

This has got to be one of my most commonly used shortcuts after Cmd+.,Cmd+O to open packages and make all their files easily accessible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment