Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>PHP Variables RefactorNew to Visual Studio Code? Get it now.
PHP Variables Refactor

PHP Variables Refactor

Marcos Carpio

|
246 installs
| (0) | Free
Refactor your variables easily
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

PHP Variables Refactor

Check it out on VSCode Marketplace

A simple extension for refactoring PHP function calls into variables right from the quick actions list.

Features

Refactors with quick actions. Smart variable name detection.

Extension Settings

This extension contributes the following settings:

  • phpVariablesRefactor.naming.type: Choose your preferred naming type. Available options are lowerCamelCase, CamelCase, snake_case and kebab-case. Default is lowerCamelCase
  • phpVariablesRefactor.naming.variablesQuantity: Choose your preferred amount of variables to use as possible variable name.

Contributing

I developed this extension with the intention of it being freely available, open source, and supported collectively. Therefore, please don't anticipate significant updates from me beyond critical bug fixes.

If you have a suggestion for a new feature, I'm open to considering it. I encourage anyone with the expertise to create a pull request, and if it aligns with the project's goals, I'll gladly support merging it.

Release Notes

1.1.0

  • Added support for multiple variables name hint
  • Fix identation for some cases
  • Improved codebase

1.0.0

Initial release

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft