Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

add some kind of way to lowercase all letters (and uppercase) #74

Open
Etaash-mathamsetty opened this issue Mar 28, 2022 · 4 comments
Open
Labels
tool New tool request

Comments

@Etaash-mathamsetty
Copy link

Etaash-mathamsetty commented Mar 28, 2022

i still have to go to a random website for this, would be nice if this feature was available in this program.
a "sentence case" would be good too.

@liferooter liferooter added the tool New tool request label May 19, 2022
@adasauce
Copy link

adasauce commented Dec 7, 2022

You can go to preferences -> tools -> add custom tool.

call it uppercase

edit script

from sys import stdin, stdout, stderr, argv
input_string = stdin.read()
stdout.write(input_string.upper())

and you can do the same thing in a tool for lower by doing

from sys import stdin, stdout, stderr, argv
input_string = stdin.read()
stdout.write(input_string.lower())

I implemented these, and a simple jwt parser a while ago.

@Etaash-mathamsetty
Copy link
Author

You can go to preferences -> tools -> add custom tool.

call it uppercase

edit script

from sys import stdin, stdout, stderr, argv
input_string = stdin.read()
stdout.write(input_string.upper())

and you can do the same thing in a tool for lower by doing

from sys import stdin, stdout, stderr, argv
input_string = stdin.read()
stdout.write(input_string.lower())

I implemented these, and a simple jwt parser a while ago.

I wasn't aware you could make custom tools, I am probably gonna do some really cool stuff with this

@adasauce
Copy link

adasauce commented Dec 7, 2022

Happy to hear it was a helpful suggestion 😄 I was a little worried you would take it the wrong way telling you to go away.

I've been adding up my own set of tools slowly as I need them. I found this issue when I was looking to see if there was some community list of people with their own textpieces tools hoping to find other non-official ones people are working on.

@username0136
Copy link

@Etaash-mathamsetty can you please edit your feature request to include some other features too:

  • Title Case
  • Sentence Case
  • Camel Case
  • Snake Case

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
tool New tool request
Projects
None yet
Development

No branches or pull requests

4 participants