Skip to content

andrepfdev/vscode-php-auto-dollar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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?


License | Licença

MIT License

About

Uma extensão do VS Code que adiciona $ automaticamente às variáveis do PHP.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published