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
Write PHP code without typing $
Escreva o código PHP sem digitar o $
Save the file (Ctrl + S)
Salve o arquivo (Ctrl + S)
The extension will automatically add $ where needed
A extensão adicionará $ automaticamente onde necessário
🧪 Example | Exemplo
Before saving | Antes de salvar:
After saving | Depois de salvar:
⚙️ Configuration | Configuração
No configuration is required.
Nenhuma configuração necessária.
🚀 Installation | Instalação
Open VS Code and go to Extensions (Ctrl+Shift+X)
Abra o VS Code e vá em Extensões (Ctrl+Shift+X)
Search for PHP Auto Dollar and install
Procure por PHP Auto Dollar e instale
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?