

A quick search reveals at least three ( 1, 2, and 3) that claim to support PHP formatting.
VISUAL STUDIO CODE FONT RECOMMENDATION FOR MAC
visual-studio-code font or ask your own question. 15 minutes to read 12 contributors Feedback In this article The environment font Text style See also Applies to: Visual Studio Visual Studio for Mac Visual Studio Code The environment font All fonts within Visual Studio must be exposed to the user for customization. Thanks for contributing an answer to Software Recommendations Stack Exchange. Visual Studio Code has pretty awesome PHP support. Is there any extension (VS CODE) that previews the font-family in CSS. Visual Studio Code continues to lack built-in support for PHP code formatting and will direct you to the extension marketplace if you attempt to format PHP without an appropriate extension installed. The free version of Intelephense supports code formatting with the usual shortcuts ( Alt + Shift + F on Windows and Linux, ⌥⇧F on macOS). I always configure in the JSON file since it gives you 100 control. The only decent extension still standing of which I'm aware is PHP Intelephense, which uses a freemium model: basic features are free, and a lifetime license is $12 USD as of writing. To change your VSCode’s default code font, you can either use VSCode’s Settings UI or configure it directly in the Settings JSON file ( settings.json ).

The extensions to which I originally linked are abandoned, and Visual Studio Code's intrinsic PHP support hasn't improved, which is disappointing. It's been more than half a decade since I first wrote this answer.
