VSCode IDE Setup
Setting up the Visual Studio Code editor to work well with Drupal
Last updated
Setting up the Visual Studio Code editor to work well with Drupal
Last updated
Under Extensions in the left sidebar, search for "PHP Debug" and click "Install"
Edit .vscode/launch.json
Add the following configuration:
Click in top navbar navigate to file > preferences > settings
Under Workspace Settings
expand the Extensions
option
Locate PHP CodeSniffer configuration
and scroll down to the Standard
section and click the "Edit in settings.json" link
Add the following configuration to your Workspace Settings
:
Under Extensions in the left sidebar, search for "phpcs" and click "Install"