简体   繁体   English

Visual Studio 2019 C++ CodeLens

[英]Visual Studio 2019 C++ CodeLens

Is there any way to enable CodeLens for C++?有没有办法为 C++ 启用 CodeLens? Either through extensions or native VS settings.通过扩展或本机 VS 设置。

It's specifically this feature for C# I'm talking about我说的是 C# 的这个特性

在此处输入图片说明

https://devblogs.microsoft.com/cppblog/announcing-codelens-for-c-unit-testing/ https://developercommunity.visualstudio.com/idea/351131/codelens-for-c.html https://devblogs.microsoft.com/cppblog/annoucing-codelens-for-c-unit-testing/ https://developercommunity.visualstudio.com/idea/351131/codelens-for-c.html

This is all official information I can find on the matter.这是我能找到的关于此事的所有官方信息。 Seems like they added it in C++17, however, it's focused on unit testing.似乎他们在 C++17 中添加了它,但是,它专注于单元测试。

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

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