Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

whats the state of clippy support? #415

Closed
RBLG opened this issue Jan 19, 2023 · 1 comment
Closed

whats the state of clippy support? #415

RBLG opened this issue Jan 19, 2023 · 1 comment

Comments

@RBLG
Copy link

RBLG commented Jan 19, 2023

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 #183 and #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 ^^'

@norru
Copy link
Contributor

norru commented Aug 2, 2023

Necroposting, but useful for future users.

The same approach used by RLS is available for the Rust-analyzer.

Here's a working example from my Corrosion setup:

image

{
	"cargo": {"loadOutDirsFromCheck": true}, 
	"procMacro": {"enable": true},
	"rustfmt": {"enableRangeFormatting": true},
	"check": {"command": "clippy"}
}
``

@norru norru closed this as completed Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants