[word-search] Capitalize output when search text is capitalize#8705
[word-search] Capitalize output when search text is capitalize#8705pernielsentikaer merged 10 commits intoraycast:mainfrom
Conversation
|
Thank you for your contribution! 🎉 🔔 @RishabSwift @thomaspaulmann you might want to have a look. |
|
Hi @bkeys818 👋 Thanks for your contribution 🔥 Wouldn't it make sense to uppercase in the list too, now that it's done in the actions? @RishabSwift do you mind checking this |
|
@pernielsentikaer, Can't hurt |
|
@RishabSwift do you have time to check? |
|
Thanks for the feature! Will check it out in a few hours |
|
@bkeys818 I just tried it out. Doesn't seem to work? It is not capitalizing the list nor the actions for me (like when I copy or paste in active app). |
|
@bkeys818, I think it's preferable to capitalize the words as they are extracted from the request response in the API file rather than in the search results. This approach keeps everything consolidated in one location and avoids the need to manipulate the render method. What do you think? |
Co-authored-by: Rishab Swift <15897093+RishabSwift@users.noreply.github.com>
|
@frntline-dev, I'd probably help to explain why I suggested this change. I use to use Alfred 5, which had "spell", a similar functionally to this extension. One of my favorite features was that it would match the case of the original word. When I use this extension, I'll copy a word I'm unsure is spelled right and call the extension. Then, I select the correct word which replaces the original. When the misspelled is the first word in a sentence (aka. capitalized), the corrected spelling always appears all lowercase. That means I have to go back and re-capitalize it every time. I acknowledge that it's a minor annoyance, but I think the fix is justified since it's insignificant. That's just my opinion. I'd love to hear what other people think. |
|
We could also make it a preference if it should happen or not and then lease default behavior as today and make a toggle for it 🙂 |
|
@bkeys818 I think there's a better way to achieve the capitalization of the first letter. For example, in the This centralizes the logic, ensuring the I think this is a better way to go about it, don't you think? |
|
@RishabSwift, that is an excellent idea. I'll get it done right now. |
|
Can you check it again @RishabSwift |
|
Looks great @bkeys818! Thanks for taking the time 💯 |
All looks well! |
|
Awesome, thanks 🔥 |
|
Published to the Raycast Store: |
|
🎉 🎉 🎉 We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag. |

Description
When the search text is capitalized, the copied/pasted word will also be capitalized.
Checklist
npm run buildand tested this distribution build in Raycastassetsfolder are used by the extension itselfREADMEare placed outside of themetadatafolder