Skip to content

Commit 778b5f1

Browse files
committed
Split global and local vscode settings
1 parent 793c1b9 commit 778b5f1

3 files changed

Lines changed: 20 additions & 4 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ extern/ttmath/release/
2929
/src/include/gen/autoconfig.auto
3030
/src/include/gen/autoconfig.h
3131
/vcpkg_installed/
32+
/firebird.code-workspace
3233
.idea/
3334

3435
# clangd index and background cache

.vscode/c_cpp_properties.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
{
22
"configurations": [
33
{
4-
"name": "Linux",
4+
"name": "default",
55
"includePath": [
6+
"${default}",
67
"${workspaceFolder}/src/include/gen",
78
"${workspaceFolder}/src/include",
89
"${workspaceFolder}/extern/boost",
@@ -11,10 +12,8 @@
1112
"defines": [
1213
"DEV_BUILD"
1314
],
14-
"compilerPath": "/usr/bin/clang",
1515
"cStandard": "c17",
16-
"cppStandard": "c++20",
17-
"intelliSenseMode": "linux-clang-x64"
16+
"cppStandard": "c++20"
1817
}
1918
],
2019
"version": 4

firebird.code-workspace.template

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/* Copy this file to a *.code-workspace file and adjust your local settings */
2+
{
3+
"folders": [
4+
{
5+
"name": "firebird",
6+
"path": "."
7+
}
8+
],
9+
"settings": {
10+
"C_Cpp.default.includePath": [
11+
"${workspaceFolder}/temp/debug/src/include"
12+
],
13+
"C_Cpp.default.compilerPath": "/usr/bin/clang",
14+
"C_Cpp.default.intelliSenseMode": "linux-clang-x64"
15+
}
16+
}

0 commit comments

Comments
 (0)