2 votesAjay Vijayvargiya shared this idea ·
4 votesAjay Vijayvargiya commented
This is very much needed. Many (Windows) functions take many arguments, and most programmers call a function on a single source line; hence fixing this warning becomes unnecessarily tedious.
Hello and thank you for the suggestion. We plan to eventually support CodeLens for C++. How that will work remains under discussion, as there are some performance implications to consider, particularly for the “Find All References” aspect of the feature. Since we require running candidates through the IntelliSense compiler to successfully validate references, C++ code by its nature is more tricky and slower to build than .NET code, and the existing CodeLens experience requires all this to work in real-time on multiple functions at once, it’s something we need to be careful with.
We will keep you posted once we have a more definitive plan. Thank you for helping us build a better Visual Studio!Ajay Vijayvargiya commented
CodeLens is only partially supported for C++. It must be supported for source code view. C# has log of auto-generated code, C++ has mostly hand-written code by humans, and hence view within text editor is more demanded for C++.