https://github.com/andrepfdev/vscode-php-auto-dollar
Uma extensão do VS Code que adiciona $ automaticamente às variáveis do PHP.
https://github.com/andrepfdev/vscode-php-auto-dollar
php typescript vscode vscode-extension
Last synced: 4 months ago
JSON representation
Uma extensão do VS Code que adiciona $ automaticamente às variáveis do PHP.
- Host: GitHub
- URL: https://github.com/andrepfdev/vscode-php-auto-dollar
- Owner: andrepfdev
- License: mit
- Created: 2025-05-18T14:43:16.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-05-19T00:16:33.000Z (about 1 year ago)
- Last Synced: 2025-06-26T16:10:32.671Z (12 months ago)
- Topics: php, typescript, vscode, vscode-extension
- Language: TypeScript
- Homepage:
- Size: 147 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:**

**After saving | Depois de salvar:**

---
## 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](https://github.com/andrepfdev/vscode-php-auto-dollar/issues)
- [Contribute on GitHub](https://github.com/andrepfdev/vscode-php-auto-dollar)
---
## License | Licença
[MIT License](LICENSE)