Comments (1)
Thanks for your feedback, took me a while to get to it but it's definitely super appreciated. 🙌
I'll try to address each of your points that require a response.
Can you have different lists relative to the current editor/programming language?
Yes, language-specific custom toggles have been added in v0.2.0
. Here is the Visual Studio Code reference on how to configure them: https://code.visualstudio.com/docs/getstarted/settings#_language-specific-editor-settings
-
["and", "or"]
I think this is a good addition, even outside of programming. -
["null", "undefined", "NaN", "None", "nil"]
I think I would prefer to avoid mixing up different languages in the same toggles and I definitely to not wish to maintain that kind of list myself so if this is something a developer wish to have, I think it's fair to ask them to maintain their own list (either global or language-specific). -
["map", "reduce", "filter"]
I think this kind of change is not so common to be worth adding to the default list. -
["thead", "tbody", "tfoot"],
I think this is a good addition. -
["dark", "light"]
Excellent idea. -
Log levels + success: I was thinking this was a good idea but after thinking about it and trying to find common list, I think it's just impossible to have a list that would be useful for everyone with so many different strategies out there. We'll either have too many items or not enough. I think it's better to let the user maintain their own list.
-
["x", "y", "z"]
Good idea. -
["start", "stop", "end", "pause"]
I like the idea but I think having["start", "stop", "end"]
is what I would most expect. -
["left", "right", "middle", "center", "justify"]
I think theleft
/right
toggle should not be expanded and let developers maintain their own list if they wish to have more options based on their language. -
["head", "body", "foot"]
This one was mostly intended for HTML so I think keeping it as is is the best option. -
["row", "col", "column"]
This sounds a bit too specific to me. -
["minor", "major", "patch"]
Good idea. -
["if", "else", "elseif", "elif", "elsif"]
I would prefer to keep it simple and let developers maintain their own list if they wish to have more options based on their language. -
Ordinal numeral: I definitely think this is way too specific and I've never seen this occurred so often that it would be worth even using a toggle for it. If a developer really needs it, they can maintain their own list.
Based on your feedback, I've updated the default list to include the changes I've agreed with and released version v0.6.0
.
I'm totally conscious that this feels a bit arbitrary, but without many more feedbacks from many users, I try to keep the list as simple as possible while still being useful to most people and it can be hard to find the right balance (that's also why a main goal of the extension is to let users maintain their own list).
Thanks again for your feedback.
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
- 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
- toggleable notification HOT 5
- Toggle surrounding characters while inside the expression HOT 1
- Feature request: add a option or shortcut to "toggle-reverse",thanks HOT 5
- On/Off has weird behavior on MacOS (12.2.1) HOT 3
- Bug:uppercase => lowercase HOT 1
- Workspace and folder settings HOT 1
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.