Display additional information in diagnostic #46911
Unanswered
YairHalberstadt
asked this question in
General
Replies: 2 comments 13 replies
-
That is the intended use case for description. @mavasani has anything changed here recently? The error list should still let you expand the diagnostic to see the whole description |
Beta Was this translation helpful? Give feedback.
0 replies
-
@jmarolf Currently we populate the description (and all fields from DiagnosticDescriptor) only for diagnostics reported from intellisense. There is an active item to ensure we do the same for diagnostics reported from build. Likely the case for @YairHalberstadt is for diagnostics coming from build? |
Beta Was this translation helpful? Give feedback.
13 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use a source generator to create an IOC container (see https://github.com/YairHalberstadt/stronginject).
Is there anyway to show a short description by default, but a longer one if the user needs it?
I want to show something like:
And then a longer description:
DiagnosticDescriptor has a field "description" which sounds promising:
However when I add something there I can't see it in Visual Studio, even if all the columns in the error list are shown.
Beta Was this translation helpful? Give feedback.
All reactions