You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How about adding some VS Code workspace settings? I've got quite a nice set up that I'm using on other projects which makes setting up sniffing/beautifying/formatting in VS Code very straight-forward.
There's gonna be 2 parts to this:
Document the necessary VS Code extensions
Ship a settings.json, the content of which is something like below.
Some of the settings below are for the PHP Sniffer & Beautifier Docker extension. It's pretty neat as it runs PHP_CodeSniffer inside Docker meaning users are not require to have (a particular version of) PHP installed on their machine. The one snag with this is that it requires the container name within the settings, fortunately this is fairly easy to predict with Lando, and could easily be set as part of composer create-project, but obviously mileage may varying using other local dev environments.
How about adding some VS Code workspace settings? I've got quite a nice set up that I'm using on other projects which makes setting up sniffing/beautifying/formatting in VS Code very straight-forward.
There's gonna be 2 parts to this:
settings.json
, the content of which is something like below.Some of the settings below are for the PHP Sniffer & Beautifier Docker extension. It's pretty neat as it runs PHP_CodeSniffer inside Docker meaning users are not require to have (a particular version of) PHP installed on their machine. The one snag with this is that it requires the container name within the settings, fortunately this is fairly easy to predict with Lando, and could easily be set as part of
composer create-project
, but obviously mileage may varying using other local dev environments.The text was updated successfully, but these errors were encountered: