Skip to content

Commit 216cb38

Browse files
committed
Add VS Code configurations.
1 parent b944773 commit 216cb38

File tree

4 files changed

+130
-0
lines changed

4 files changed

+130
-0
lines changed

.vscode/c_cpp_properties.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"configurations": [
3+
{
4+
"name": "Mac",
5+
"includePath": [
6+
"${workspaceFolder}/**"
7+
],
8+
"defines": [],
9+
"macFrameworkPath": [
10+
"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks"
11+
],
12+
"compilerPath": "/usr/bin/clang",
13+
"cStandard": "c11",
14+
"cppStandard": "c++17",
15+
"intelliSenseMode": "clang-x64"
16+
}
17+
],
18+
"version": 4
19+
}

.vscode/launch.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": "(lldb) Launch",
9+
"type": "lldb",
10+
"request": "launch",
11+
"program": "${workspaceFolder}/bin/main",
12+
"args": [],
13+
"cwd": "${workspaceFolder}",
14+
"preLaunchTask": "clang++ build active file"
15+
}
16+
]
17+
}

.vscode/settings.json

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
{
2+
"files.associations": {
3+
"iosfwd": "cpp",
4+
"__bit_reference": "cpp",
5+
"__config": "cpp",
6+
"__debug": "cpp",
7+
"__errc": "cpp",
8+
"__functional_base": "cpp",
9+
"__hash_table": "cpp",
10+
"__locale": "cpp",
11+
"__mutex_base": "cpp",
12+
"__node_handle": "cpp",
13+
"__nullptr": "cpp",
14+
"__split_buffer": "cpp",
15+
"__string": "cpp",
16+
"__threading_support": "cpp",
17+
"__tuple": "cpp",
18+
"algorithm": "cpp",
19+
"array": "cpp",
20+
"atomic": "cpp",
21+
"bit": "cpp",
22+
"bitset": "cpp",
23+
"cctype": "cpp",
24+
"chrono": "cpp",
25+
"cmath": "cpp",
26+
"complex": "cpp",
27+
"cstdarg": "cpp",
28+
"cstddef": "cpp",
29+
"cstdint": "cpp",
30+
"cstdio": "cpp",
31+
"cstdlib": "cpp",
32+
"cstring": "cpp",
33+
"ctime": "cpp",
34+
"cwchar": "cpp",
35+
"cwctype": "cpp",
36+
"exception": "cpp",
37+
"functional": "cpp",
38+
"initializer_list": "cpp",
39+
"ios": "cpp",
40+
"iostream": "cpp",
41+
"istream": "cpp",
42+
"iterator": "cpp",
43+
"limits": "cpp",
44+
"locale": "cpp",
45+
"memory": "cpp",
46+
"mutex": "cpp",
47+
"new": "cpp",
48+
"optional": "cpp",
49+
"ostream": "cpp",
50+
"ratio": "cpp",
51+
"sstream": "cpp",
52+
"stdexcept": "cpp",
53+
"streambuf": "cpp",
54+
"string": "cpp",
55+
"string_view": "cpp",
56+
"system_error": "cpp",
57+
"tuple": "cpp",
58+
"type_traits": "cpp",
59+
"typeinfo": "cpp",
60+
"unordered_map": "cpp",
61+
"utility": "cpp",
62+
"vector": "cpp"
63+
}
64+
}

.vscode/tasks.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
// See https://go.microsoft.com/fwlink/?LinkId=733558
3+
// for the documentation about the tasks.json format
4+
"version": "2.0.0",
5+
"tasks": [
6+
{
7+
"type": "shell",
8+
"label": "clang++ build active file",
9+
"command": "clang++",
10+
"args": [
11+
"-std=c++17",
12+
"-stdlib=libc++",
13+
"${workspaceFolder}/main.cpp",
14+
"-o",
15+
"${workspaceFolder}/bin/main",
16+
"--debug"
17+
],
18+
"options": {
19+
"cwd": "/usr/bin"
20+
},
21+
"problemMatcher": [
22+
"$gcc"
23+
],
24+
"group": {
25+
"kind": "build",
26+
"isDefault": true
27+
}
28+
}
29+
]
30+
}

0 commit comments

Comments
 (0)