Rename / Replace
Rename files & folders recursively and replace their content while preserving the original casing.
Features
- Replace action for refactoring existing code with ease.
- Duplicate action for starting a new feature that has a similar folder structure to an existing feature.
- Supports the following letter casings:
- camel
- pascal
- constant
- header
- kebab
- sentence
- snake
- title
- upper
- lower
Configuration
exclude
List of folders or files to exclude.
default:
"rename-replace.exclude": [
"node_modules",
".git",
".cache"
]
Demo

CLI
For the same functionality outside of VSCode, you can use the CLI tool.
npx rename-replace -h
| |