Giter Club home page Giter Club logo

Comments (7)

ktaragorn avatar ktaragorn commented on September 25, 2024 1

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.

ktaragorn avatar ktaragorn commented on September 25, 2024

This is on ST3

from autohidesidebar.

xunker avatar xunker commented on September 25, 2024

Even though you closed this, I'll still check it out. Thank you for the bug report.

from autohidesidebar.

ktaragorn avatar ktaragorn commented on September 25, 2024

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.

ktaragorn avatar ktaragorn commented on September 25, 2024

I believe it doesnt work well with command + shift + R which reveals the current file in the sidebar

from autohidesidebar.

xunker avatar xunker commented on September 25, 2024

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.

xunker avatar xunker commented on September 25, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.