Skip to content

Commit 9d8642b

Browse files
committed
[ci skip] Add vscode settings
1 parent 09b0fb5 commit 9d8642b

File tree

3 files changed

+36
-2
lines changed

3 files changed

+36
-2
lines changed

.devcontainer/local/devcontainer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"dockerComposeFile": "./../compose.yaml",
1414
"service": "shell",
1515
"mounts": [
16-
{"type": "bind", "source": "./../", "target": "/work"}
16+
{"type": "bind", "source": "./../", "target": "/workspace/php-src"}
1717
],
18-
"workspaceFolder": "/work"
18+
"workspaceFolder": "/workspace/php-src"
1919
}

.vscode/c_cpp_properties.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"configurations": [
3+
{
4+
"name": "Linux",
5+
"includePath": [
6+
"${workspaceFolder}/**",
7+
"/workspace/php-src",
8+
"/workspace/php-src/TSRM",
9+
"/workspace/php-src/Zend",
10+
"/workspace/php-src/ext",
11+
"/workspace/php-src/main",
12+
"/workspace/php-src/sapi"
13+
],
14+
"defines": [],
15+
"compilerPath": "/usr/bin/gcc",
16+
"cStandard": "c99"
17+
}
18+
],
19+
"version": 4
20+
}

.vscode/settings.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"files.associations": {
3+
"*.phpt": "php",
4+
"*.c": "c",
5+
"*.h": "c",
6+
"*.cpp": "cpp",
7+
"*.cc": "cpp",
8+
"*.cxx": "cpp",
9+
"*.hpp": "cpp",
10+
},
11+
"editor.tabSize": 4,
12+
"editor.insertSpaces": false,
13+
"editor.detectIndentation": false
14+
}

0 commit comments

Comments
 (0)