Maximizing Visual Studio Code with DDEV for Drupal developers
Michael Anello
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.
Prerequisites
Experience with DDEV, Visual Studio Code, and basic Drupal module development.
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
Additional Details:
- Audience level: Intermediate
- Topic: Developer
- Room: Gaige Hall 206