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
Can't have sidebar closed #6
Comments
I see what you mean, but there doesn't appear to be a way for the plugin to determine if the sidebar is visible before running the "reveal active file" command. We'd have to request a new API for that. |
I also noticed this problem, FWIW. I can hide the sidebar, but as soon as I alt+tab away and back again, it's visible. |
It would be great if this could be solved. I like the package, but can't use it like this. |
+1 - I've had to disable this package for this reason. |
I've just fixed the bug in disabling the plugin per-project (see #2, #9) which makes this a little bit better. I took another look through the sublime docs and there's still no sidebar API. If you'd like to help request one, vote for this request. |
+1 have the same problem |
Certainly a deal-breaker for me. :( |
So vote for it on userecho! I really would like to fix this one, but it's just not possible yet. |
Deal breaker for me too. |
+1 |
+1, voted on userecho |
Oops, didn't think github would auto close the issue. The good news is that sublime text 3 added an API that I can hook into for tracking sidebar visibility. It currently has two drawbacks:
The good news is that I was able to add some smarts so if you're like me and use multiple sublime windows, the plugin will track sidebar visibility separately for each window :) The v3 API is a new event listener - in my testing even through the plugin includes v3 code, v2 simply ignores the extra code and works as it always has. There shouldn't be any adverse affects from this, but if one turns up I'll move the code to a branch. |
Also, this all requires build 3013, where the on_window_command listener was added. It's only available in a development build as I write this. |
Build 3025 was released today, which fixes the second of the two issues. It's not perfect, but it is now quite easy to use this plugin with the sidebar closed. I'll keep an eye out for future APIs that make it 100% reliable but I think this issue can be closed. |
Having SyncedSideBar installed, it's impossible to have the sidebar closed.
Whenever a file view is changed, the sidebar opens automatically.
The text was updated successfully, but these errors were encountered: