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

Add functionality to automatically rename "index" files to match folder names #312

Open
Pedro77h opened this issue Oct 12, 2023 · 2 comments

Comments

@Pedro77h
Copy link

Context:
In many cases, it's a common practice to name the main file in a directory as "index." However, for the sake of easier identification and organization, it would be helpful if the "index" file is automatically renamed to match the name of the folder it resides in.

Objective:
The objective of this issue is to implement a script or functionality that detects if a file is named "index" and, if so, automatically renames it to match the name of the folder it's located in.

@Pedro77h
Copy link
Author

Pedro77h commented Oct 12, 2023

may i do it ?

@rishiraj88
Copy link

Nice feature, @Pedro77h . I, too, think it is going to be useful to many, many users.

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

2 participants