-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.devcontainer.json
43 lines (43 loc) · 1.53 KB
/
.devcontainer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// If you want to run as a non-root user in the container, see .devcontainer/docker-compose.yml.
{
"name": "PHP",
"dockerComposeFile": "./docker-compose.yml",
// Update the 'dockerComposeFile' list if you have more compose files or use different names.
"service": "phpdev",
// Default path to open when attaching to a new container.
"workspaceFolder": "/opt/code",
// Set *default* container specific settings.json values on container create.
"settings": {
"php.executablePath": "/usr/local/bin/php",
"php.validate.executablePath": "/usr/local/bin/php",
"phpcs.executablePath": "/usr/local/bin/phpcs",
"phpcbf.enable": true,
"phpcbf.executablePath": "/usr/local/bin/phpcbf",
"phpcbf.documentFormattingProvider": true,
"phpcbf.onsave": true,
"files.eol": "\n",
"telemetry.enableTelemetry": false,
"telemetry.enableCrashReporter": false,
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"editor.formatOnSave": true,
"errorLens.onSave": true,
"files.trimTrailingWhitespace": true,
"editor.useTabStops": false,
"editor.tabSize": 2,
},
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"xdebug.php-debug",
"ikappas.phpcs",
"persoderlind.vscode-phpcbf",
"neilbrayfield.php-docblocker",
"usernamehw.errorlens",
"pomber.git-file-history",
"mhutchie.git-graph",
"michelemelluso.gitignore",
"eamodio.gitlens",
"christian-kohler.path-intellisense",
"mutantdino.resourcemonitor"
]
}