Maximizing Visual Studio Code with DDEV for Drupal developers

A modern Drupal development environment enables the developer to work at peak efficiency to create sustainable code that meets modern coding standards and is bug-free (hopefully!) By leveraging a modern IDE like Visual Studio Code, along with a recommended set of extensions and configuring, one can put themselves in a position to succeed.

This session will demonstrate how to set up Visual Studio Code to work with DDEV and a number of code quality tools to maximize a developer's efficiency. This includes integrating phpcs, phpcbf, PhpStan, and PHPUnit with Visual Studio Code's interface as well as making it easy to run PHPUnit tests directly from the Visual Studio Code interface. Furthermore, guidance will be provided on how to configure Xdebug with Visual Studio Code.

Attendees of this session will leave with the knowledge necessary to configure their copy of Visual Studio Code as will be demonstrated in the session.

Learning objectives

Integrate phpcs, phpcbf, and PhpStan with Visual Studio Code
Integrate Xdebug with Visual Studio Code
Install and configure recommended Visual Studio Code extensions for Drupal development

Michael Anello
Drupal trainer and developer @ DrupalEasy
Michael Anello (@ultimike) is co-founder and vice president of DrupalEasy, a Drupal training and consulting firm based in Central Florida. Mike has been one of the main organizers of the Florida Drupal Users' Group and Florida DrupalCamps for over ten years, is a member of the Drupal Community Working Group, and also helps manage the Drupal Association's Community Cultivation Grants program.

Michael has been developing Drupal sites for over 12 years specializing in module development, theming, and general site-building with a strong focus on best practices and sustainable development. Michael is also the lead trainer and curriculum developer for DrupalEasy's intensive, 12-week Drupal Career Online.

He can be heard interviewing fellow Drupal community members, talking about current Drupal news, and highlighting new and upcoming modules on the twice-monthly DrupalEasy Podcast. He is an Acquia Certified Developer and a Drupal 8 core contributor.

https://www.midcamp.org/2024/topic-proposal/maximizing-visual-studio-code-ddev-drupal-developers

Drupal is a registered trademark of Dries Buytaert.