Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>PHP Auto DollarNew to Visual Studio Code? Get it now.
PHP Auto Dollar

PHP Auto Dollar

André Pereira

|
12 installs
| (0) | Free
Automatically adds $ symbol to PHP variables when saving files
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

PHP Auto Dollar

🇺🇸 English | 🇧🇷 Português

A Visual Studio Code extension that automatically adds the $ symbol to PHP variables when saving a file.
Uma extensão do Visual Studio Code que adiciona automaticamente o símbolo $ às variáveis PHP ao salvar o arquivo.


✨ Features | Funcionalidades

  • ✅ Automatically adds $ to PHP variables on file save (Ctrl + S)
    Adiciona automaticamente $ às variáveis ao salvar (Ctrl + S)

  • ✅ Detects assignments, function parameters, and common usage patterns
    Detecta atribuições, parâmetros de função e usos comuns

  • ✅ Ignores PHP keywords and reserved contexts
    Ignora palavras-chave e contextos reservados do PHP

  • ✅ Manual command: PHP: Add Dollar Signs to Variables
    Comando manual: PHP: Add Dollar Signs to Variables


💡 How It Works | Como Funciona

  1. Write PHP code without typing $
    Escreva o código PHP sem digitar o $

  2. Save the file (Ctrl + S)
    Salve o arquivo (Ctrl + S)

  3. The extension will automatically add $ where needed
    A extensão adicionará $ automaticamente onde necessário


🧪 Example | Exemplo

Before saving | Antes de salvar:

before

After saving | Depois de salvar:

after


⚙️ Configuration | Configuração

No configuration is required.
Nenhuma configuração necessária.


🚀 Installation | Instalação

  1. Open VS Code and go to Extensions (Ctrl+Shift+X)
    Abra o VS Code e vá em Extensões (Ctrl+Shift+X)

  2. Search for PHP Auto Dollar and install
    Procure por PHP Auto Dollar e instale

  3. Reload or restart VS Code
    Recarregue ou reinicie o VS Code


📝 Feedback & Issues | Feedback & Problemas

Found a bug or have a suggestion?
Encontrou um bug ou tem sugestão?

  • Open an issue
  • Contribute on GitHub

📄 License | Licença

MIT License

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