Page 1 of 1

Hability to change casing of selected text when renaming a file

Posted: 19 Jun 2024 05:07
by omega32
The ability to change casing of the selected text when renaming a file would be awesome.

Some text and code editors allow you to do this. Usually the key bindings are:
- CTRL + U: set selected text lowercase
- CTRL + SHIFT + U: set selected text uppercase

While editing files in XYplorer, it already fells like we are in an editor, particularly when pressing up and down arrows and you go to the next line (file).
Sometimes I want to change the casing of just part of the file name. Instead of typing it myself (and risking making a typo), I copy the text to a text editor, use the feature I mention to change it, copy it back and rename the file.

Having the suggested option in XYplorer would speed this process significantly.

Re: Ability to change casing of selected text when renaming a file

Posted: 19 Jun 2024 06:29
by jupe
Ctrl+F5
Shift+F5

Re: Hability to change casing of selected text when renaming a file

Posted: 19 Jun 2024 06:53
by omega32
WOW! thanks. It already has this, awesome.

So:
- F5: capitalize
- SHIFT + F5: uppercase
- CTRL + F5: lowercase

thanks :D

Re: Hability to change casing of selected text when renaming a file

Posted: 19 Jun 2024 07:04
by omega32
And, is there a way to customize this hotkeys?
If that's the case, I would change them to match what is used in other software (ex: VS Code).

Re: Ability to change casing of selected text when renaming a file

Posted: 19 Jun 2024 07:14
by jupe
No

Re: Hability to change casing of selected text when renaming a file

Posted: 19 Jun 2024 08:34
by admin
I looked around and found that
- CTRL + U: Make selected text lowercase
- CTRL + SHIFT + U: Make selected text uppercase
is almost a standard, so I added it. It will work in the next beta.

Re: Hability to change casing of selected text when renaming a file

Posted: 19 Jun 2024 08:39
by omega32
Amazing! thank you so much :D

Re: Hability to change casing of selected text when renaming a file

Posted: 19 Jun 2024 15:54
by phred
admin wrote: 19 Jun 2024 08:34 I looked around and found that
- CTRL + U: Make selected text lowercase
- CTRL + SHIFT + U: Make selected text uppercase
is almost a standard, so I added it. It will work in the next beta.
Does this replace the F5 options that jupe quoted above? Or is this in addition to the F5s?

Re: Hability to change casing of selected text when renaming a file

Posted: 19 Jun 2024 16:04
by admin
Addition. (You could have found out yourself.)

Re: Hability to change casing of selected text when renaming a file

Posted: 19 Jun 2024 16:19
by phred
admin wrote: 19 Jun 2024 16:04 Addition. (You could have found out yourself.)
Understood, but I don't download every beta.
Thanks.

Re: Hability to change casing of selected text when renaming a file

Posted: 22 Jun 2024 08:53
by omega32
The feature works great. I've been testing it. And I've just noticed something. It doesn't work in the Live Filter Toolbar Box. F5 works, but not the new hotkeys.

Also, CTRL+Z (undo) doesn't do anything in that edit box, is that intentional?.

Re: Hability to change casing of selected text when renaming a file

Posted: 22 Jun 2024 12:06
by admin
Oh boy, you're right on all counts. The next beta will be better.