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

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

[rust-analyzer]
procMacro.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"

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