dotnet / roslyn

The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
https://docs.microsoft.com/dotnet/csharp/roslyn-sdk/
MIT License
19.12k stars 4.04k forks source link

CodeLens reference counter should NOT include references from /// comments for XML Documentation #40427

Open vsfeedback opened 4 years ago

vsfeedback commented 4 years ago

This issue has been moved from a ticket on Developer Community.


Reference counting should only be for actual Code and not mentions of classes, methods, properties, etc that exists in /// comments are part of the XML documentation. This misleads in the sense of the consumption of code.

Although it is true that when making name changes I expect the change to be reflected in /// comments as well, I would expect to have control of filtering out the number of times name is mentioned in a comment for XML documentation.


Original Comments

Visual Studio Feedback System on 12/9/2019, 00:55 AM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.


Original Solutions

(no solutions)

kendrahavens commented 4 years ago

Related: https://developercommunity.visualstudio.com/idea/361087/allow-option-to-hideexclude-unit-test-projects-fro.html

Users also want the ability to exclude test references from CodeLens. A option to control what is included in the CodeLens references should be able to exclude multiple types of references.

kendrahavens commented 4 years ago

Related: Users want the ability to filter to instantiations. https://github.com/dotnet/roslyn/issues/40797