Smart case-aware search and replace with file renaming capabilities for VS Code.
Features
Smart Case Conversion: Automatically detects and converts between different case styles (snake_case, kebab-case, camelCase, PascalCase, SCREAMING_SNAKE_CASE, Train-Case, Title Case, dot.case)
Atomic Operations: All changes are applied atomically with full undo/redo support
File & Directory Renaming: Rename files and directories along with content updates
Advanced Filtering:
Include/exclude files with glob patterns
Filter out matches on lines matching a regex pattern (e.g., comments)
Respect .gitignore and other ignore files
Rich Preview: See all changes before applying with syntax highlighting
History: Track and revert previous operations
Requirements
VS Code 1.85.0 or higher
Renamify CLI installed (or available in project's target/debug/ for development)
Installation
From VSIX
Download the .vsix file
Open VS Code
Go to Extensions view (Ctrl+Shift+X)
Click the "..." menu and select "Install from VSIX..."
Select the downloaded file
Development
# Install dependencies
cd renamify-vscode
pnpm install
# Compile TypeScript
pnpm compile
# Run tests
pnpm test
# Package extension
pnpm install -g @vscode/vsce
vsce package
Usage
Click the Renamify icon in the Activity Bar (left sidebar)
Enter your search and replacement terms
Configure options:
Select case styles to match
Set file include/exclude patterns
Add regex to exclude matching lines (e.g., ^\\s*// for comments)
Click "Search" to preview changes
Review results with red strikethrough for removals and green for additions
Click "Apply" to execute the changes
Configuration
renamify.cliPath: Path to renamify CLI binary (auto-detected by default)