
#VISUAL STUDIO CODE FORMAT PHP CODE INSTALL#
Some other extensions you might want to install Automatically creates phpdoc annotations with configurable format, and reads them when writting method or function calls.Detect unused imports, unused private functions or unused variables.


Note: I'm not being payed by intelephense to write this! Uninstall PHP IntelliSense (it will be installed by default).Within Visual Studio Code, go to the “Extensions” tab and search PHP.This is literally 90% of the job and it’s super easy. The most important thing to do if you want to work with PHP in VS code is to disable the default language server and install PHP Intelephense. It’s highly optimized to work with JavaScript and TypeScript, featuring smart autocompletion, auto-imports, refactors, and other goodies.Īlthough no match to IDEs like PHPStorm, Visual Studio Code can be customized to have better support when working PHP. VS code is a tool mostly used by front-end developers. Setting up Visual Studio Code to work with PHP
