Add phpunit in vscode
This commit is contained in:
@@ -11,6 +11,30 @@ let
|
||||
continue.continue
|
||||
vue.volar
|
||||
ms-vscode-remote.remote-containers
|
||||
(pkgs.vscode-utils.buildVscodeMarketplaceExtension {
|
||||
mktplcRef = {
|
||||
publisher = "ryanluker";
|
||||
name = "vscode-coverage-gutters";
|
||||
version = "2.14.0"; # use the current version
|
||||
sha256 = "sha256-waF3FmncUsXqWFWGRy9X7RQ29BDRYlaqyFhEXg4HXNo";
|
||||
};
|
||||
})
|
||||
(pkgs.vscode-utils.buildVscodeMarketplaceExtension {
|
||||
mktplcRef = {
|
||||
publisher = "amiralizadeh9480";
|
||||
name = "laravel-extra-intellisense";
|
||||
version = "0.7.4"; # use the current version
|
||||
sha256 = "sha256-EoyKm2YYfEZDmI1mqRU/SaNk0bNLPrWVINpIhglnL80=";
|
||||
};
|
||||
})
|
||||
(pkgs.vscode-utils.buildVscodeMarketplaceExtension {
|
||||
mktplcRef = {
|
||||
publisher = "recca0120";
|
||||
name = "vscode-phpunit";
|
||||
version = "3.9.40"; # use the current version
|
||||
sha256 = "sha256-EVyDT5aXu1KsGr8xrBQlIRCMOtiCyHgU7aDjl9d9ldY=";
|
||||
};
|
||||
})
|
||||
];
|
||||
|
||||
userSettings = {
|
||||
@@ -18,11 +42,18 @@ let
|
||||
"workbench.colorTheme" = "Catppuccin Mocha";
|
||||
"workbench.editor.enablePreview" = false;
|
||||
"direnv.restart.automatic" = true;
|
||||
|
||||
"terminal.integrated.defaultProfile.linux" = "zsh";
|
||||
"terminal.integrated.profiles.linux".zsh = {
|
||||
path = "${pkgs.zsh}/bin/zsh";
|
||||
};
|
||||
"coverage-gutters.coverageBaseDir" = "test-reports";
|
||||
# PHPUnit
|
||||
"phpunit.command" =
|
||||
"docker compose exec laravel.test \${php} \${phpargs} \${phpunit} \${phpunitargs}";
|
||||
"phpunit.phpunit" = "artisan test";
|
||||
"phpunit.paths" = {
|
||||
"\${workspaceFolder}" = "/var/www/html";
|
||||
};
|
||||
};
|
||||
|
||||
editors = {
|
||||
|
||||
Reference in New Issue
Block a user