diff options
Diffstat (limited to 'rust-analyzer.toml')
| -rw-r--r-- | rust-analyzer.toml | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/rust-analyzer.toml b/rust-analyzer.toml new file mode 100644 index 0000000..0a09afa --- /dev/null +++ b/rust-analyzer.toml @@ -0,0 +1,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 |
