Skip to content
This repository has been archived by the owner on Nov 18, 2022. It is now read-only.

Add setting for clippy_preference #360

Closed

Conversation

jrobsonchase
Copy link

Resolves #298.

By inspecting the vscode log files, I can confirm that it's receiving the setting properly, but I've yet to see any actual clippy lints when I have it set to "on."

Is there something else that needs to be done or am I just on a bad rls version?

@nrc
Copy link
Member

nrc commented Jul 8, 2018

Is there something else that needs to be done or am I just on a bad rls version?

Clippy is an optional feature and we don't build it by default. To get Clippy you need to build the RLS yourself and enable the Clippy feature at compile time. This should change in the near future though.

@nrc
Copy link
Member

nrc commented Jul 8, 2018

So unfortunately this PR won't do anything until we do that. CLosing for now.

@nrc nrc closed this Jul 8, 2018
@jrobsonchase
Copy link
Author

Ah, ok, well that explains my trouble getting it to work. From this thread, it sounded like if it compiled, clippy would be included in RLS.

@nrc
Copy link
Member

nrc commented Jul 17, 2018

Clippy should be included from the next nightly

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants