Comments (7)
I believe I was facing an issue with https://forum.sublimetext.com/t/settings-not-reloading/11275/17 which might be why I was not getting my preferences loaded. The point about it loading AutoHideSidebar.sublime-settings
but not using it still stands i think
from autohidesidebar.
This is on ST3
from autohidesidebar.
Even though you closed this, I'll still check it out. Thank you for the bug report.
from autohidesidebar.
Thanks @xunker, There is also an issue where the logic seems to reverse itself.. briefly, show becomes hide (hide immediately, show after 5 keystrokes) let me try to replicate and report.
from autohidesidebar.
I believe it doesnt work well with command + shift + R which reveals the current file in the sidebar
from autohidesidebar.
When I originally wrote this, there was no way to query the state of the sidebar with the Sublime API. So if something else changed the sidebar state then this code started working in reverse.
There are functions in the API called is_sidebar_visible()
and set_sidebar_visible(flag)
. I don't know if I just missed them before or if they are new. They may also not do that I think. I'm going to explore them.
If I can't fix this properly, another idea I had been considering before is a command that would swap the internal state of the sidebar whenever this happened. It's not a perfect solution but it would allow you to fix the problem and keep on working.
from autohidesidebar.
Update: Confirmed, is_sidebar_visible()
can query the state and set_sidebar_visible(flag)
can absolutely set it. I think that changing to use those will break ST2 compatibility but I have never tried this on ST2 and I doubt anyone else is using it there.
I'm going to close this issue and continue the work in #3.
from autohidesidebar.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autohidesidebar.