Giter Site home page Giter Site logo

Comments (5)

shawn-yee avatar shawn-yee commented on June 27, 2024 1

@HiDeoo Anyway, thanks for your plugin, which I used every day, it's great

from toggler-vscode.

HiDeoo avatar HiDeoo commented on June 27, 2024 1

["flex-start", "center", "flex-end", "space-around", "space-evenly", "space-between"]

A more accurate example above, because sometimes your options will be greater than three, and my current toggle shortcut is cmd+t, when adding a cmd+shift+t, it will be more convenient to use, if it is difficult to implement this feature, it is not necessary

I see, that makes more sense. I'm usually having toggles with 2 or 3 words on a daily basis so didn't thought about this use-case.

I may not have the time on the short term to implement this right now, but I just added this to my todo list for the next version.

Without too much thinking, the implementation shouldn't be too difficult. I'll prolly add this as a new command like you suggested which wouldn't have a shortcut assigned by default, and let user assign a key combos to it if they do want to do so.

I'll make sure to ping this issue with progress or when this is released.

from toggler-vscode.

HiDeoo avatar HiDeoo commented on June 27, 2024

I'm not sure I see the point of adding such a command considering that if you continue pressing the toggle shortcut, it'll loop back infinitely.

For example, with test1 -> test2 -> test3, pressing the toggle shortcut after test3 will cycle back to test1:

demo

If the goal in your example was going back to left from right, pressing the shortcut one more time will bring you back to test1, which is even faster than a potential toggle-reverse command.

from toggler-vscode.

shawn-yee avatar shawn-yee commented on June 27, 2024

["flex-start", "center", "flex-end", "space-around", "space-evenly", "space-between"]

A more accurate example above, because sometimes your options will be greater than three, and my current toggle shortcut is cmd+t, when adding a cmd+shift+t, it will be more convenient to use, if it is difficult to implement this feature, it is not necessary

from toggler-vscode.

HiDeoo avatar HiDeoo commented on June 27, 2024

I'll make sure to ping this issue with progress or when this is released.

A bit late to the party but the feature is finally available in the version 0.5.0 that I just published thanks to a PR from @Kotsuha 🎉

from toggler-vscode.

Related Issues (9)

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.