简体   繁体   English

如何在vscode中隐藏main()文本上方的“运行|调试”?

[英]How do I hide the "Run | Debug" above main() text in vscode?

I normally run my application from the terminal directly so this text just adds a bit of noise.我通常直接从终端运行我的应用程序,所以这个文本只会增加一点噪音。 Any idea how to remove it?知道如何删除它吗?

在此处输入图像描述

Set rust-analyzer.lens.run.enable and rust-analyzer.lens.debug.enable to false .rust-analyzer.lens.run.enablerust-analyzer.lens.debug.enable设置为false Note this will also disable lens on tests.请注意,这也会在测试中禁用镜头。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM