-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.clangd
More file actions
52 lines (40 loc) · 1.16 KB
/
.clangd
File metadata and controls
52 lines (40 loc) · 1.16 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
# .clangd configuration for UserCanal C++ SDK
# Optimizes Zed editor experience with proper include paths and diagnostics
CompileFlags:
Add:
- "-std=c++17"
- "-Iinclude"
- "-Igenerated"
- "-I/usr/local/include"
- "-I/opt/homebrew/include"
- "-I/usr/include/flatbuffers"
- "-DUSERCANAL_SDK_VERSION=1.0.0"
Diagnostics:
# Strict checking for missing includes to catch real issues
MissingIncludes: Strict
# Don't warn about unused includes - SDK has intentional forward declarations
UnusedIncludes: None
# Suppress warnings for unused parameters in template/virtual functions
Suppress:
- "unused-parameter"
- "unused-private-field"
Index:
# Index all headers for better completion
Background: Build
# Standard library indexing
StandardLibrary: Yes
InlayHints:
# Show parameter names in function calls
Parameters: Yes
# Show deduced types
DeducedTypes: Yes
# Show return types for auto functions
TypeNameLimit: 50
Hover:
# Show full type information on hover
ShowAKA: Yes
Completion:
# Include function signatures in completions
AllScopes: Yes
# Include headers in completions
IncludeInsertion: Yes