microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
107.47k stars 6.34k forks source link

Add degree, pi, and micro symbol to Quick Accent #23237

Open Vitamoon opened 1 year ago

Vitamoon commented 1 year ago

Description of the new feature / enhancement

see title

Scenario when this would be used?

all the time when typing

Supporting information

No response

Jay-o-Way commented 1 year ago

@damienleroy is that within the scope of Quick Accent?

Aaron-Junker commented 1 year ago

@damienleroy is that within the scope of Quick Accent?

We have alot of other special characters, so I would say yes.

daniel-lo commented 1 year ago

Not to forget .. these: ≤ ≥

Pls.

Jay-o-Way commented 1 year ago

We have alot of other special characters, so I would say yes.

That imples there would be no real limits. That means we end up with another version of the emoji/input tool, which already has numerous characters, ordered by several groups...

Vitamoon commented 1 year ago

Can we also add the division symbol? Not the slash, but the one with two dots and a line between them.

ajhawkings commented 1 year ago

Some of the ones mentioned are available already: π (pi) - under 'p' μ (micro) - under 'm' ≤ ≥ - under ',' Degree - subscript 0 (⁰) is a kind of workaround

Division is not available

OndrejSpanel commented 1 year ago

That means we end up with another version of the emoji/input tool, which already has numerous characters,

Yes, please. I personally need to insert degree symbol (and other technical symbols) far more often then emojis.

Jay-o-Way commented 1 year ago

What's the problem with pressing Win+. or remembering an Alt code?

OndrejSpanel commented 1 year ago

Remembering anything requires an effort. The same way you could claim Quick Accent is unnecessary, as you could type ALL characters with the Alt code. Possible? Yes Convenient? Not really

crutkas commented 1 year ago

Degree i think is °

ketsuban commented 1 year ago

What's the problem with pressing Win+. or remembering an Alt code?

Win+. has metastasised beyond all reason from the original useful functionality of an emoji picker. First you have to not get distracted by the multiple obnoxious animated images courtesy of (ugh) Tenor, then realise one of the hieroglyphics in the top row means "special characters", then scroll down until you find °. By contrast, Quick Accent is easy and uncluttered: hold (for example) 0, mash Space until ° is highlighted, release.

I'm not even going to dignify "remember an Alt code" with a response.


An issue now marked as a duplicate of this one also brought up ellipsis … U+2026 and interrobang ‽ U+203D as conspicuous by their absence; they could be put on the slash key (since it's also the key used to type a question mark). I'd just like to make sure they don't get forgotten in the churn.

eleigh commented 1 year ago

+1 for including ellipsis (…) and also vertical ellipsis (⁝) ‒ perhaps best on the semicolon (;) key?

pacanukeha commented 1 year ago

What's the problem with pressing Win+. or remembering an Alt code?

quick accents are quick. it's the whole point of the toy to replace the need to remember alt-something or Win+. or Win+; and then move your mouse to select the character tab and scroll to find what you are look for

pacanukeha commented 1 year ago

+1 for including ellipsis (…) and also vertical ellipsis (⁝) ‒ perhaps best on the semicolon (;) key?

I came here for ellipsis ‒ personally I would think they should go on the period (.) key myself but I'm not too fussed either way.

pacanukeha commented 1 year ago

We have alot of other special characters, so I would say yes.

That imples there would be no real limits. That means we end up with another version of the emoji/input tool, which already has numerous characters, ordered by several groups...

but the emoji/input tool is nowhere near is easy to navigate from the keyboard

drewtato commented 1 year ago

Here's a list of all the symbols/characters suggested so far.

Symbols that are not in QuickAccent

Symbols that are in QuickAccent (× and ÷ were added in #25790)

I've added ∫, and originally came here for °. I also noticed that some symbols like ¥ in the "Currency" section are not in "All available" for some reason.

https://github.com/microsoft/PowerToys/blob/53e104e8586460e0140fdf134503701bfcbb2f8e/src/modules/poweraccent/PowerAccent.Core/Languages.cs#L154

https://github.com/microsoft/PowerToys/blob/53e104e8586460e0140fdf134503701bfcbb2f8e/src/modules/poweraccent/PowerAccent.Core/Languages.cs#L122

If anyone wants to suggest more, I recommend searching the Languages.cs file first.

TheJoeFin commented 9 months ago

As of 0.74.1: °F and °C are available under f and c respectively (note the degree and the letter are separate characters) π is available under p μ is available under m

the only thing left to do for this is add the degree symbol to be entered alone without F or C.

e-t-l commented 7 months ago

I have an idea that may be a perfect solution for several of the problems mentioned here... or it may be WAY out of scope for PowerToys and completely unrealistic. I honestly can't tell which, so I'll put it briefly and let you all decide. I'm happy to open a new issue to flesh out the idea more if the devs like it.

What if the Win+. app WAS a PowerToy? Specifically, what if PowerToys created, basically, a modded version of that app, which is technically named "TextInputHost" which had some settings options: the ability to hide categories like gifs, kaomoji, etc., the ability to reorder the Favorites category (e.g. to put Symbols at the top of the frequently-used list, instead of the bottom), and most importantly, a Quick Accents category, or some update to the interface to seamlessly merge the current appearances of TextInputHost and PowerToys Quick Accents.

Because PowerToys is an official Microsoft project that is published with an official Microsoft signing cert, I believe it should be able to replace the default OS file at "C:\Windows\SystemApps\MicrosoftWindows.Client.CBS_cw5n1h2txyewy\TextInputHost.exe" with a "modded" PowerToys version and not cause any issues. Of course, PowerToys would have to reinstall it after every OS update, but that's not too hard to detect and run in the background.

Thoughts?