Conversation
Add helper function inside Filesystem:save to convert the filename from PascalCase to Capitalised_Snake_Case
|
Nice work! Just give me some time to validate it so that nothing gets break |
|
@nathy-cpu looks like you forget about an edge case in Your output for |
Fix to_snake_case function to handle consecutive capital letters
Fix `to_snake_case` function to handle spaces and numbers
I have fixed the issue and tried to handle more edge cases as well. This time I hope things go as expected. |
|
Looks like your changes have some formatting issues. You can use |
|
Oh my bad. It is fixed now |
|
Congratulations, but next time try to write your commit messages according to conventional commits rules. This time i doing a squash merge |
|
Understood. This is my first pull request ever, so thank you for understanding :) |
I have added a helper function in the
Filesystem:savefunction to handle naming filenames of contest question. After this change, all the files created will be named likeA_Problem_Nameinstead ofAProblemName. I think this will be more readable and easier to arrange and archive the solution files for future use.Checklist before requesting a review