webksde / ddev-vscode-devcontainer-drupal-template

Drupal DDEV based development container with attached Visual Studio Code
23 stars 3 forks source link

Add the VSCode PHPUnit extension, for simple phpunit access through VSCode #118

Open joshsedl opened 1 year ago

joshsedl commented 1 year ago

Furthermore, while we are at it, we should think about defining some constraints for phpcs in VSCode through: "phpsab.snifferArguments": [ "--file-list=<fileList>" ],

The defines "[a] file containing a list of files and/or directories to check (one per line)". This way, less problems get displayed on the VSCode "Problems" tab and the phpunit problems would appear more clearly.

JPustkuchen commented 1 year ago

Being able to see code coverage etc. in VSCode would surely be helpful, at least for unit tests! I like the idea, but it's indeed low prio.