You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"description": "Configuration settings for use with include cleanup scripts",
5
+
"type": "object",
6
+
"properties": {
7
+
"dependencies": {
8
+
"description": "Configuration settings for dependencies",
9
+
"type": "object",
10
+
"patternProperties": {
11
+
".*": {
12
+
"description": "Path to dependency in the source tree",
13
+
"oneOf": [
14
+
{
15
+
"$ref": "#"
16
+
},
17
+
{
18
+
"description": "Path to another config file to include",
19
+
"type": "string"
20
+
}
21
+
]
22
+
}
23
+
}
24
+
},
25
+
"includeDirs": {
26
+
"description": "A list of include directories to use when processing this codebase. Paths to dependencies are automatically added to this list.",
27
+
"type": "array",
28
+
"items": {
29
+
"type": "string"
30
+
}
31
+
},
32
+
"ignores": {
33
+
"description": "Known inaccurate output which should be ignored",
34
+
"type": "object",
35
+
"properties": {
36
+
"skip": {
37
+
"description": "This is a list of filenames to skip entirely, for situations like when clangd infers a bad compile command",
38
+
"type": "array",
39
+
"items": {
40
+
"type": "string"
41
+
}
42
+
},
43
+
"add": {
44
+
"description": "Ignores for suggestions to add includes",
45
+
"type": "object",
46
+
"properties": {
47
+
"filenames": {
48
+
"description": "This is a list of known filenames to skip when suggesting includes to add.",
49
+
"type": "array",
50
+
"items": {
51
+
"type": "string"
52
+
}
53
+
},
54
+
"headers": {
55
+
"description": "This is a list of known headers where clangd produces a false positive when suggesting as includes to add.",
56
+
"type": "array",
57
+
"items": {
58
+
"type": "string"
59
+
}
60
+
},
61
+
"edges": {
62
+
"description": "This is a list of known edges where clangd produces a false positive when suggesting as an include to add.",
63
+
"type": "array",
64
+
"items": {
65
+
"type": "array",
66
+
"minItems": 2,
67
+
"maxItems": 2,
68
+
"items": {
69
+
"type": "string"
70
+
}
71
+
}
72
+
}
73
+
},
74
+
"additionalProperties": false
75
+
},
76
+
"remove": {
77
+
"description": "Ignores for suggestions to remove includes",
78
+
"type": "object",
79
+
"properties": {
80
+
"filenames": {
81
+
"description": "This is a list of known filenames to skip when suggesting unused includes. It's mostly a list of umbrella headers where the includes will appear to clangd to be unused, but are meant to be included.",
82
+
"type": "array",
83
+
"items": {
84
+
"type": "string"
85
+
}
86
+
},
87
+
"headers": {
88
+
"description": "This is a list of known headers where clangd produces a false positive when suggesting as unused includes to remove. Usually these are umbrella headers, or headers where clangd thinks the canonical location for a symbol is actually in a forward declaration, causing it to flag the correct header as unused everywhere.",
89
+
"type": "array",
90
+
"items": {
91
+
"type": "string"
92
+
}
93
+
},
94
+
"edges": {
95
+
"description": "This is a list of known edges where clangd produces a false positive when suggesting as unused includes to remove.",
0 commit comments