16

In the screenshot shown here:

vs-code-rust

VS code automatically added a tip line showing as "1 implementation" in the Rust code between line 14 and line 15.

My question is: how can I disable this gray tip line? and what is the official name for such tip lines inserted?

0

1 Answer 1

16

Assuming you're using rust-analyzer, in File | Settings | search for Rust Analyzer > Lens: Implementations and uncheck the box then restart VS Code.

The corresponding (boolean) JSON value is rust-analyzer.lens.implementations.

You can still find implementations by right clicking on the type anyway, so there's no real loss in setting it to false.

Sign up to request clarification or add additional context in comments.

1 Comment

As of Jun 2023, you need to write "rust-analyzer.lens.implementations.enable": false.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.