I was bored with renaming every file I created in Visual Studio Code. So I created this so I could rename the files in the same why every time by just running the command.
Renames the file by lowercasing the file name and replacing the spaces with hyphens. It's a niche requirement. I'm not expecting anyone else to really need this, but if you do, then that's cool!
I use Visual Studio Code for note taking and I want the name of the file to be the first line of its content, which in my case is the title of the document. However, by default, Visual Studio Code uses it verbatim, but I want the title to be title case, and I want the filename to be lowercase with the spaces replaced by hyphens. Which is what the command this extension has does.
Filename before command:
Filename after command:
It's more about unknown unknowns at this point.
First release. Lowercasing and replacing spaces with hyphens is hard coded. Limited testing done. I'm sure there will be issues!
Update README for Tony