Closed RBLG closed 1 year ago
Necroposting, but useful for future users.
The same approach used by RLS
is available for the Rust-analyzer.
~/.cargo/rust-analyzer.json
or similar.LS configuration
file to the path of rust-analyzer.json
above.Here's a working example from my Corrosion setup:
{
"cargo": {"loadOutDirsFromCheck": true},
"procMacro": {"enable": true},
"rustfmt": {"enableRangeFormatting": true},
"check": {"command": "clippy"}
}
``
1.from my understanding, clippy isnt supported by default, am i wrong? (also does clippy add anything more?)
2.if thats the case, how do you set it up? i've been looking at https://github.com/eclipse/corrosion/pull/183 and https://github.com/eclipse/corrosion/issues/111 for guidance but they seem outdated? (GUI is different, rls.conf being changed doesnt change anything, making ls configuration point to rls.conf or rls.exe doesnt change anything)
im using 1.2.4
thanks for any help ^^'