-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.json
More file actions
executable file
·77 lines (77 loc) · 2.12 KB
/
Copy pathsettings.json
File metadata and controls
executable file
·77 lines (77 loc) · 2.12 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"files.associations": {
"*.txt": "cmake",
"vector": "cpp",
"array": "cpp",
"atomic": "cpp",
"bit": "cpp",
"*.tcc": "cpp",
"cctype": "cpp",
"clocale": "cpp",
"cmath": "cpp",
"compare": "cpp",
"complex": "cpp",
"concepts": "cpp",
"cstdarg": "cpp",
"cstddef": "cpp",
"cstdint": "cpp",
"cstdio": "cpp",
"cstdlib": "cpp",
"cwchar": "cpp",
"cwctype": "cpp",
"deque": "cpp",
"string": "cpp",
"unordered_map": "cpp",
"exception": "cpp",
"algorithm": "cpp",
"functional": "cpp",
"iterator": "cpp",
"memory": "cpp",
"memory_resource": "cpp",
"numeric": "cpp",
"random": "cpp",
"string_view": "cpp",
"system_error": "cpp",
"tuple": "cpp",
"type_traits": "cpp",
"utility": "cpp",
"initializer_list": "cpp",
"iosfwd": "cpp",
"iostream": "cpp",
"istream": "cpp",
"limits": "cpp",
"new": "cpp",
"numbers": "cpp",
"ostream": "cpp",
"sstream": "cpp",
"stdexcept": "cpp",
"streambuf": "cpp",
"cinttypes": "cpp",
"typeinfo": "cpp",
"list": "cpp",
"unordered_set": "cpp",
"bitset": "cpp",
"chrono": "cpp",
"ctime": "cpp",
"map": "cpp",
"set": "cpp",
"ratio": "cpp",
"queue": "cpp"
},
"clangd.arguments": [
"--clang-tidy", // 开启clang-tidy
"--all-scopes-completion", // 全代码库补全
"--completion-style=detailed", // 详细补全
"--header-insertion=iwyu",
"--pch-storage=disk", // 如果内存够大可以关闭这个选项
"--log=error",
"--j=5", // 后台线程数,可根据机器配置自行调整
"--background-index"
],
//"clangd.path": "/tmp/clangd_15.0.3/bin/clangd",
"[cpp]": {
"editor.defaultFormatter": "llvm-vs-code-extensions.vscode-clangd",
"editor.tabSize": 2,
"editor.insertSpaces": true
}
}