在 Rust Analyzer 中,如果存在非标准的变量或者函数调用,会用下划线标注,但有时候不想要这些提示:
通过在设置中搜索:
whether the server is allowed to emit non-standard tokens and modifiers
,
找到选项关闭即可:
解决了你的问题的话麻烦点个赞呦!😘😘😘
Rust Analyzer关闭烦人的下划线
于 2024-03-24 20:39:15 首次发布
![](https://img-home.csdnimg.cn/images/20240611030827.png)
在 Rust Analyzer 中,如果存在非标准的变量或者函数调用,会用下划线标注,但有时候不想要这些提示:
通过在设置中搜索:
whether the server is allowed to emit non-standard tokens and modifiers
,
找到选项关闭即可:
解决了你的问题的话麻烦点个赞呦!😘😘😘