-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.clangd
More file actions
25 lines (25 loc) · 1016 Bytes
/
Copy path.clangd
File metadata and controls
25 lines (25 loc) · 1016 Bytes
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
CompileFlags: # Tweak the parse settings
CompilationDatabase: _build/debug # Use the actual debug build directory that contains compile_commands.json
Add: [-xc++, -std=c++20] # Keep fallback header parsing aligned with the project standard
Index:
Background: Build # Keep the symbol index warm for cross-file navigation in a header-heavy library
Hover:
ShowAKA: Yes # Show alias expansions for templated and type-alias-heavy code
Completion:
AllScopes: Yes # Offer completion results beyond the immediately visible scope
ArgumentLists: FullPlaceholders # Insert full call placeholders when completing functions
HeaderInsertion: IWYU
CodePatterns: All
MacroFilter: FuzzyMatch
InlayHints:
Enabled: true
BlockEnd: true
Designators: true
ParameterNames: true
DeducedTypes: true
TypeNameLimit: 24
Diagnostics:
UnusedIncludes: Strict
MissingIncludes: Strict
Documentation:
CommentFormat: Doxygen