-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
It feels like when we are showing editor squiggles, it is redundant to display the diagnostic location, in the diagnostic message itself. Example:

Perhaps we should try to location-prefix the message when the diagnostics are displayed in console, while leaving the SimpleDiagnostic.Message
text location-independent (but potentially still content-dependent, e.g. it could consider saying something like "property 'Foo' must have a separator like ..."). This is similar to what the compiler command line does:
Compiler command line error:
C:\Users\rikki\src\fbp-scratch\misc.cs(8,33): error CS1061: 'string' does not contain a definition for 'Pastel' and no accessible extension method 'Pastel' accepting a first argument of type 'string' could be found (are you missing a using directive or an assembly reference?)