This sample generates diagnostics with related information which can be seen in Problems view and in the editor.
- Clone this extension
npm install
- Launch the extension
- Open the file sample-demo.rs that exists in this extension
Problems view
shows an error with related information- Typing
F8
in the editor also shows the error with related information