You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have added vscode.DiagnosticsRelatedInformation which is an extension to the existing diagnostics API. It allows diagnostics to point to other source locations helping to explain them better, e.g showing the first declaration of a symbol when having a duplicate symbol-name error. Write an extension that adds diagnostics with related information and test that you can see related information in the markers panel, the editor hover, and the F8 feature.
Johannes Rieken (@jrieken) I find it a bit strange that the Diagnostic does not have an optional paramter in the constructor to provide relatedInformation, but only after construction I can set it.
Activity
jrieken commentedon Mar 26, 2018
FYI - to test against the latest API do the following:
package.jsonfileengine.vscodeproperty to*npm run postinstall(assuming you have thevscodemodule as dev-dependency)isidorn commentedon Mar 27, 2018
Johannes Rieken (@jrieken) I find it a bit strange that the
Diagnosticdoes not have an optional paramter in the constructor to providerelatedInformation, but only after construction I can set it.jrieken commentedon Mar 27, 2018
The same as with
sourceandcode. The decision was that optional or rarely used fields aren't in the ctor.