Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable a tip line in VS code with Rust program?

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?

like image 918
user1783732 Avatar asked Jan 16 '26 21:01

user1783732


1 Answers

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.

like image 147
Shaun the Sheep Avatar answered Jan 19 '26 14:01

Shaun the Sheep



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!