Idea for renaming an HTML file

Features wanted...
Post Reply
CompSystems
Posts: 300
Joined: 09 Nov 2012 14:35
Location: Colombia
Contact:

Idea for renaming an HTML file

Post by CompSystems »

Hello
There is a standard for writing HTML files.

Program a new option.

Change the naming convention from SnakeCase, PascalCase, CamelCase, etc. to html-Case by converting everything to lowercase and separating with hyphens, including spaces.

Example:
lenguaje_Html_V5.html (SnakeCase)
LanguageHtml V5.html (PascalCase)
lenguajeHtml V5.html (CamelCase)
LENGUAJE_HTML_V5.HTML (SCREAMING-SNAKE-CASE)
Lenguaje-Html-V5.Html (Train-Case-Name)

-> html-Case

lenguaje-html-v5.html

CompSystems
Posts: 300
Joined: 09 Nov 2012 14:35
Location: Colombia
Contact:

Re: Idea for renaming an HTML file

Post by CompSystems »

I was thinking that it shouldn't just be for HTML filenames, but should also support computer programming file naming conventions; that is, a new option to rename a file according to the following conventions:

1: snake_case, e.g. 'User Number 1' or user-number-1 or User_number_1, ... can be written to SnakeCase as user_number_1
2: Pascal_Case, e.g. 'User Number 1', ... can be written to PascalCase as User_Number_1
3: camelCase, e.g. 'User Number 1, ...' can be writtento to camelCase as userNumber1
4: train-case, e.g. 'User Number 1', ... can be written to train-case as user-number-1
5: SCREAMING for the cases: snake_case, train-case,
e.g. 'User Number 1' can be written as USER_NUMBER_1
e.g. user-Number-1can be written as USER-NUMBER-1

I think this will be useful for Xyplorer users who program PCs and embedded systems like microcontrollers.

jupe
Posts: 3446
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Idea for renaming an HTML file

Post by jupe »

I think if "programmers" really wanted all that, they would make simple one line scripts for each of those, and maybe combine them into a single menu that is perfectly customized to themselves, and that is besides the fact that all those can already be accomplished using 2 steps of existing inbuilt commands.

CompSystems
Posts: 300
Joined: 09 Nov 2012 14:35
Location: Colombia
Contact:

Re: Idea for renaming an HTML file

Post by CompSystems »

The idea I'm proposing can be achieved with scripts, but nothing beats having the functions integrated into the application. Furthermore, XYplorer already has a URL escape option. I'm simply suggesting other options that might be interesting for users who work in programming.

In my case, I study web development, and generally, filenames must be written in KabebCase; however, many of the files I've created are in Snake or CamelCase, and I want to rename them in bulk.Furthermore, it would be an innovative option; there is no file explorer that renames files in these conventions.

Post Reply