Convert all user-defined variable and container names in a file (or selection) to camelCase, PascalCase, snake_case, or kebab-case — while preserving built-in functions and keywords.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Convert all user-defined variable and container names in any file to your
preferred naming convention in one command. Built-in functions, keywords, and
language primitives are automatically preserved.
Features
Case
Example
camelCase
myVariableName
PascalCase
MyVariableName
snake_case
my_variable_name
kebab-case
my-variable-name
Whole-file scan — reads every identifier in the active file
Smart skip — ignores console, Math, print, React hooks, language
keywords, and 200+ built-ins across JS/TS/Python/Go/Rust/PHP
Destructuring aware — handles const { a, b } = obj and const [x, y] = arr
Status bar button — one-click access at the bottom right of VS Code
Right-click menu — available in the editor context menu