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

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

inlay-hints.type-hints = true
inlay-hints.parameter-hints = true
inlay-hints.chaining-hints = 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"
files.excludeDirs = [
    "src/data/compile_info.rs"
]

macro-expansion.mode = "hir"
macro-expansion.max-depth = 32
macro-expansion.engines.hir = true
macro-expansion.engines.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