summaryrefslogtreecommitdiff
path: root/rust-analyzer.toml
blob: 0a09afa9ae60e04a80570edf147461ecff28a22d (plain)
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
[package]
proc-macro.enable = true

[cargo]
allFeatures = true
loadOutDirsFromCheck = true
runBuildScripts = true

[rust-analyzer]
procMacro.enable = true
procMacro.attributes.enable = true

diagnostics.disabled = ["unresolved-proc-macro"]

inlayHints.typeHints = true
inlayHints.parameterHints = true
inlayHints.chainingHints = true

completion.autoimport.enable = true
completion.postfix.enable = true

lens.enable = true
lens.implementations.enable = true
lens.references.enable = true

check.command = "clippy"
check.extraArgs = ["--all-features"]

files.watcher = "client"

macroExpansion.mode = "hir"
macroExpansion.maxDepth = 32
macroExpansion.engines = { hir = true, tt = true }

workspace.symbol.search.scope = "workspace"

assist.importMergeBehavior = "last"
assist.importPrefix = "by_self"

hover.actions.enable = true
hover.actions.debug.enable = true
hover.actions.gotoTypeDef.enable = true
hover.actions.implementations.enable = true
hover.actions.references.enable = true

callInfo.full = true

linkedProjects = ["Cargo.toml"]

experimental.procAttrMacros = true
experimental.procMacro.server = true