textpieces
textpieces copied to clipboard
add some kind of way to lowercase all letters (and uppercase)
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.
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.
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
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.
@Etaash-mathamsetty can you please edit your feature request to include some other features too:
- Title Case
- Sentence Case
- Camel Case
- Snake Case