Helium314 / HeliBoard

Customizable and privacy-conscious open-source keyboard
Apache License 2.0
2.24k stars 84 forks source link

Capitalize words easily #783

Open Denio-7 opened 4 months ago

Denio-7 commented 4 months ago

The solution you'd like If I want to capitalize a word in the middle of a sentence, I have to rewrite it all over again. It would be convenient to implement this by placing the cursor on the desired word and pressing Shift. Additionally could be cool press Shift twice for the word to become completely capitalized.

Use case Quite often it's easier to emphasize a word with a capital letter than it is to use a markdown rules in messengers. Also, the dictionary occasionally makes mistakes in capitalization, and such a fix would also speed things up.

Charles7z commented 4 months ago

Same as #540

summersab commented 3 months ago

I second this. I used to have an IME that did this (I forget which one), and it was super handy.

Say I wanted to type Jack in the Box. Box isn't automatically capitalized because grammatically, it isn't a proper noun. If I typed box[shift][space], it should result in Box being capitalized. If I typed box[shift][shift][space], it should result in BOX.

Thanks for the great work!

ghost commented 2 months ago

Just select word (either by double tap on word or single tap to place cursor in and then use toolbar button to select word) + shift key.

summersab commented 2 months ago

Just select word (either by double tap on word or single tap to place cursor in and then use toolbar button to select word) + shift key.

Yes, those are options, and I'm thankful to be made aware of them because I didn't realize these methods existed until recently.

However, they're somewhat cumbersome. These two options both require three taps while simply hitting shift at the end of the word requires a single tap. Hitting shift at the end of a word is a much easier, faster, and more elegant solution that keeps the flow of input moving forward instead of going backward.

ildar commented 1 month ago

.. and also misleading. In case I want to write in camelCase or SnakeCase..

woj-tek commented 1 month ago

.. and also misleading. In case I want to write in camelCase or SnakeCase..

What's more likely on a tiny smartphone screen - that you are writing code and above are relevant or are you writing regular text where you would like to capitalize first letter/whole word? In my case it's the latter and I have never had need to write camelCase/SnakeCase on mobile...

SwiftKey had it done nicely where taping shift in the middle of the word turned it's first letter to capital and then whole word. In this case we could had 3rd step where it would only insert capital letter a the entry point... or it could be eneter while holding shift (instead of tapping)