Giter VIP home page Giter VIP logo

Comments (10)

pelatx avatar pelatx commented on August 18, 2024 2

Yes @Hirse. I am interested.

from brackets-outline-list.

Hirse avatar Hirse commented on August 18, 2024 1

That seems like a reasonable change. Thanks for the good video.

If I remember correctly, @pelatx wrote the autohide feature some time ago. Would you be interested to look into this? Otherwise, I'll have a look later.

from brackets-outline-list.

pelatx avatar pelatx commented on August 18, 2024 1

I agree with that. I had misinterpreted your previous comment and I understood that you just wanted to add it to the settings dropdown of the Outline.

I have an initial version and I'm going to raise a PR so you can try it. From here, if the feature should be included, we can continue from what you suggest.

Regarding the delay, I opted for 0.5 seconds, after trying a bit.

from brackets-outline-list.

schroef avatar schroef commented on August 18, 2024

Im glad you guys like it.

PS i got one more thing, but thats for @pelatx. Is it possible to add perhaps some sort of delay.

Now with the menu on the right side. When i try to scroll sometimes i hit the bar by accident. Than the menu pops open of course. But a delay will also have its downside of course, user need to wait and most people hate waiting :)

Custom works has a small half circle showing in the middle. Perhaps something like this? Perhaps i should have made a new post for this :)...
The options is called half circle in sidebar

See attached
popopen-hotzone

from brackets-outline-list.

pelatx avatar pelatx commented on August 18, 2024

I like the semicircle idea, but I'm not shure that works correctly on right side of the editor. Due the editor scroll bar.

Maybe a short delay can be fine. I could test both and let you know my impressions. But I want to know @Hirse's opinion about this before.

from brackets-outline-list.

Hirse avatar Hirse commented on August 18, 2024

@pelatx, I agree completely. I wouldn't mind adding another setting for the delay (we can argue about the default value πŸ˜‰). I'd be very happy if you want to give it a try.

from brackets-outline-list.

schroef avatar schroef commented on August 18, 2024

Okay sweet!

I just noticed the update, it works like a charm! This is so much easier to work with now, hope other users find this as handy.

Thanks for this quick release, really fast coding there!!!

from brackets-outline-list.

schroef avatar schroef commented on August 18, 2024

Wow was this feature really that simple to add. I only see there is a var declared which essentially is always False. I dont see it being declared True. Seem almost to simple

from brackets-outline-list.

pelatx avatar pelatx commented on August 18, 2024

Yesterday I tried the semi circle and I was able to confirm that there is interference with the editor's scroll bar. I think it's not a good solution.

I'm going to write the delay to see how it works. @Hirse, how would you implement the option for delay? in the preferences menu with an input box directly there? With a modal dialog that opens from an option in the preferences menu?

@schroef, yes that has been a very simple solution. Only one variable that saves the scrolled pixels when the outline is going to hide. And then they are read when it's going to show up again.

from brackets-outline-list.

Hirse avatar Hirse commented on August 18, 2024

Thanks, @pelatx.
I wouldn't expose the setting to the UI as it is not something a user would change a lot.
We could possibly add it to the View-menu (next to the autohide option).
We probably should add something to the repo Readme about the option(s) though.

from brackets-outline-list.

Related Issues (20)

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.