raycast / extensions

Everything you need to extend Raycast.
https://developers.raycast.com
MIT License
5.32k stars 3.01k forks source link

[Change Case] ... Please add 'Sentence Case' #11867

Closed erwinboogert closed 6 months ago

erwinboogert commented 6 months ago

Extension

https://www.raycast.com/erics118/change-case

Description

Could you please add the option 'sentence case' to your app? That would be most welcome for me as a professional writer. For inspiration check the first option on this site: https://convertcase.net/

Who will benefit from this feature?

Writers and more in general people that, for instance, receive feedback from others in capitals and want to transform those texts to ordinary sentence case.

Anything else?

No response

raycastbot commented 6 months ago

Thank you for opening this issue!

🔔 @erics118 @pernielsentikaer @nagauta you might want to have a look.

💡 Author and Contributors commands The author and contributors of `erics118/change-case` can trigger bot actions by commenting: - `@raycastbot close this issue` Closes the issue. - `@raycastbot rename this issue to "Awesome new title"` Renames the issue. - `@raycastbot reopen this issue` Reopen the issue.
JoltCode commented 6 months ago

@erwinboogert It appears this already exists? It's under "Sentence Case":

Screenshot 2024-04-18 at 11 37 44
erwinboogert commented 6 months ago

Tx for the quick reply. You're right. Hadn't spotted that option yet.

But, either I'm using it wrong or Sentence Case doesn't work as expected.

Hopefully you or one of the makers won't mind checking.

JoltCode commented 6 months ago

Tx for the quick reply. You're right. Hadn't spotted that option yet.

But, either I'm using it wrong or Sentence Case doesn't work as expected.

Hopefully you or one of the makers won't mind checking.

No worries!

Yeah, after downloading this earlier, I've been trying to make the extension work, but it seems that there seems to be some sort of bug with the clipboard - I'll see if I can work out what's going wrong later 😄

JoltCode commented 6 months ago

Tx for the quick reply. You're right. Hadn't spotted that option yet.

But, either I'm using it wrong or Sentence Case doesn't work as expected.

Hopefully you or one of the makers won't mind checking.

Alright so after a little bit of digging, it seems that the library that this extension is using isn't doing the sentence case correctly:

Screenshot 2024-04-18 at 13 28 59

When I think it should say:

The quick brown fox jumps over the lazy dog. Hello there!

--

I've also found the bug I was talking about ^, it seems that you have to "exit" and go back into the extension to put in new copied text.

erics118 commented 6 months ago

@JoltCode for the needing to reopen the extension , see https://github.com/raycast/extensions/issues/9364 and the related issues/PRs

For the sentence case and title case not working too correctly, see https://github.com/raycast/extensions/issues/10594 Feel free to add docs clarifying the behavior, or a preference to lowercase the text before other transformations

erics118 commented 6 months ago

@raycastbot close this issue