miniblog.
← Back to all posts
Wilfred Hughes
Jul 28, 2021 at 08:17
rust-analyzer has a really cute feature "highlight related". It will highlight the enclosing loop when cursor is on `break`, or the enclosing `async` when cursor is on `await`:
https://github.com/rust-analyzer/rust-analyzer/pull/9678
feat: Add Configuration for Highlight Related Feature by kdelorey · Pull Request #9678 · rust-lang/rust-analyzer
Summary Adds basic configuration that allows you to control when the highlight related feature is activated. You can control this for references, break points, exit points, and yield points. Resolv...