elodie icon indicating copy to clipboard operation
elodie copied to clipboard

New option for file name capitalization handling

Open alterxyz opened this issue 2 years ago • 3 comments

In this update, I have added a new option for file name capitalization handling, which allows users to convert specific parts of the file name to title case (first letter capitalized, other letters lowercase), while preserving the original case of the original_name. The previous code only supported two formats: all uppercase and all lowercase for whole file name.

To implement this feature, I added a new conditional branch to check whether the 'capitalization' setting in the configuration file is set to 'title'. Users can specify the delimiter (in this case, ']') and how to handle different parts of the file name in the configuration file according to their needs.

Possible future improvement: Support for extension capitalization.

I hope this change will provide more flexibility and customization options.

alterxyz avatar Mar 22 '23 02:03 alterxyz

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Mar 22 '23 02:03 CLAassistant

Coverage Status

Coverage: 90.553% (-0.06%) from 90.61% when pulling fdb6821e6fbfcb0ad860223f9371e0a8dd3aab7c on alterxyz:patch-1 into 76ad82303fcbf0e4ab421dbfbb39e4a4cc76aecc on jmathai:master.

coveralls avatar Mar 22 '23 02:03 coveralls