HiDeoo / toggler-vscode

Visual Studio Code extension - Toggle words and symbols
https://marketplace.visualstudio.com/items?itemName=hideoo.toggler
MIT License
21 stars 5 forks source link

Default toggles addition #24

Closed ppo closed 5 months ago

ppo commented 5 months ago

Is your feature request related to a problem?

No, just some suggestions to be added?

Describe the solution you'd like

Foreword

Misc

Change these?

From To
["x", "y"], ["x", "y", "z"],
["start", "stop"], ["start", "stop", "end", "pause"],
["left", "right"], ["left", "right", "middle", "center", "justify"],
["head", "body"], ["head", "body", "foot"],
["row", "column"], ["row", "col", "column"],
["minor", "major"], ["minor", "major", "patch"], [1]
["if", "else"], ["if", "else", "elseif", "elif", "elsif"], [2]

Ordinal numeral (Wikipedia)

Note: ChatGPT › quaternary rather than quartary, hecto over ecto, hepta over ebdomo/hebdomo.

Metasyntactic variables (Wikipedia)

Metasyntactic variables used commonly across all programming languages include foobar, foo, bar, baz, qux, quux, corge, grault, garply, waldo, fred, plugh, xyzzy, and thud.

The followings are surely enough: ["foo", "bar", "baz", "waldo", "fred", "toto"],
Note: toto is often used in French.

This could be useful when we don't remember all the names. By typing the last one we know and toggling it to get the next one.

Describe alternatives you've considered

No response

Additional Context

No response

HiDeoo commented 5 months ago

Thanks for your feedback, took me a while to get to it but it's definitely super appreciated. :raised_hands:

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


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.