Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request : add opetion to change the title style case. #317

Closed
M7amma opened this issue Aug 21, 2023 · 8 comments
Closed

Feature request : add opetion to change the title style case. #317

M7amma opened this issue Aug 21, 2023 · 8 comments

Comments

@M7amma
Copy link

M7amma commented Aug 21, 2023

An option to allow changing the style of title case while renaming items would be very useful.

@RubicBG
Copy link
Collaborator

RubicBG commented Aug 21, 2023

If I understand you correctly, this is already there - see here: https://nilesoft.org/docs/syntax/set

item
{
back
{
normal = color
select = color
normal_disabled = color
select_disabled = color
}
}

please confirm

@M7amma
Copy link
Author

M7amma commented Aug 26, 2023

No. I mean..
For example:
I've a folder on desktop or anywhere.. and it's name is 'good music'
Now when I right click on that folder , i need an option to appear that will allow changing the name case ..
Like upper case so it will become: 'GOOD MUSIC'
Title case so it will become: 'Good Music
Sentence case: 'Good music'
Random case : 'GoOd mUsIC'

Basically the option will have cascading menu that will have all these different cases to apply on any folder name or file name

@RubicBG
Copy link
Collaborator

RubicBG commented Aug 26, 2023

I had started something similar but left it. I will try to finish it soon. You can wait when I'm done with the code, or we can comment it on discord:
https://discord.com/channels/1106387012707168318/

@M7amma
Copy link
Author

M7amma commented Aug 27, 2023

I had started something similar but left it. I will try to finish it soon. You can wait when I'm done with the code, or we can comment it on discord:
https://discord.com/channels/1106387012707168318/

It's really good to know that there's something about this. I hope you finish that but I'm sorry I won't be able to use discord because I'm always in a work environment and not all the websites are accessable. I just thought to ask for this feature because in my work I do lot of organizational tasks on a computer so I do lot of file operations like the renaming and so on... May be I'll wait for the full code to be implemented in a future release. Thanks.

@cow1337killer3
Copy link

There's str.capitalize(string)

@moudey
Copy link
Owner

moudey commented Oct 4, 2023

modify(find='good music' title=str.capitalize(this.title))

@moudey moudey closed this as completed Oct 6, 2023
@M7amma
Copy link
Author

M7amma commented Oct 7, 2023

So when we right -click on a file to rename it, can you please add option under 'attributes' and call it 'Change case'. And when we hover on this option it will show a sub-menu with these functions :
UPPERCASE
lowercase
Sentence case : First char in uppercase, rest in lowercase
Capitalize every word : First Char Of Every Word In Uppercase
Random Case : cONveRT all naME'S LETTErS to it's LOwerCaSe or UpPERCAse EQuIVaLEnt wiTh RaNdom CASE sELECtION mEthOD.
image

@RubicBG
Copy link
Collaborator

RubicBG commented Oct 7, 2023

image
I'm working on this idea - some things are already working, others are working at 70% (I have to foresee a lot of exceptions), others I haven't started yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants