Slugify filename
This extension adds the ability to slugify a file name by clicking on it in the VSCode side panel.
Usage
- Right-click on the file in the VSCode side panel.
- Select the
Slugify filename option.
- The file name will be changed to its slugified version.
Please note that you can only process one file at a time with this extension. Each file needs to be selected and processed individually.
Example
- Before:
"This is a file with #special characters!.txt"
- After:
"this-is-a-file-with-special-characters.txt"
To set a default value for the separator that is used when slugifying file names, the user can follow these steps:
- Press Ctrl/Cmd + Shift + P to open the command palette.
- Search for
Slugify Filename: Set Default Slugify Separator .
- Enter the desired separator character in the prompt that appears.
| |