Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Open Go packages by adding their folder to sidebar? #553
GoSublime has a very useful feature "Browse Packages", activated via
However, once you find a package you want to "open", it presents a list of files.
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.
What are your thoughts on this idea/proposal?
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.
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.