Maximizing Visual Studio Code with DDEV for Drupal developers
summary
Shows how to get VS Code talking directly to the DDEV web container so extensions run inside that container (no host-side ddev do shims), points VS Code PHP executable to /usr/bin/php, and wires up remote Explorer and Dev Containers, phpcs/phpcbf + PHPStan (levels 0–10) and run PHPUnit from VS Code with PHPUnit Test Explorer. Demonstrates PHPStan configuration, phpcs reporting in the Problems panel, and Xdebug enable/disable inside DDEV; the setup runs and speeds up linting, static analysis, and test feedback.
AI-written summary · about
chapters (12)
- 0:00Introduction to VS Code setup
- 3:16Required extensions overview
- 6:28Remote containers and DDEV setup
- 9:16Connecting VS Code to container
- 14:59PHP sniffer and beautifier demo
- 17:25PHP doc blocker and intellisense
- 20:16PHP Stan and unit test explorer
- 23:50VS Code settings configuration
- 33:11Drupal smart snippets demo
- 37:29PHP Stan and phpcs configuration
- 39:18PHP Stan benefits and levels
- 41:23Summary and resources
