Comments (5)
@HiDeoo Anyway, thanks for your plugin, which I used every day, it's great
from toggler-vscode.
["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.
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
:
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.
["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.
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 (11)
- Toggling without selecting a word will toggle only a subset of the word if it matched first HOT 1
- toggleable notification HOT 5
- Toggle surrounding characters while inside the expression HOT 1
- On/Off has weird behavior on MacOS (12.2.1) HOT 3
- Bug:uppercase => lowercase HOT 1
- Default toggles addition HOT 1
- Workspace and folder settings HOT 1
- Toggling on a camel case word should not handle sub-words that don't follow the camel case HOT 1
- Inconsistent/confusing handling of cursor position HOT 2
- Removing/replacing defaults HOT 2
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 toggler-vscode.