rugk / unicodify

✍️ A browser add-on (Firefox, Chrome, Thunderbird) that allows you to autocorrect common text sequences and convert text characters to a look like a special font.
https://addons.mozilla.org/firefox/addon/unicodify-text-transformer/?utm_source=github.com&utm_medium=git&utm_content=repo-about-description&utm_campaign=github
Other
11 stars 2 forks source link

Remove duplicate suggestions #93

Open tDeContes opened 5 months ago

tDeContes commented 5 months ago

Background

It would be nice that the context menu doesn't suggest useless items. (I'm using only casing.) For ex when I ask for i, it suggests i/I/I/I.

Proposed solution

For each suggested text transformation, after the transformation is made, check whether:

If yes, remove the item.

It would also be useful for code casing, in all cases where is there only one word to handle. I don't think it would be useful for those with special characters.

Alternatives

It could be seen as an alternative to #30, although it is more of a complement.