-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support error Uri, update RCA error strings (#1575)
This change adds support for error Uris by hooking the miette error `.url()` to the VS Code and Monaco `target` field. It also updates the wording on RCA check pass errors to use "configured target profile" instead of "current target" for more clarification. A follow up PR can update the error link(s) to point to more specific documentation pages. In VS Code, the error links show up as a clickable error code: ![image](https://github.com/microsoft/qsharp/assets/10567287/95795422-3507-44ed-9277-73a63a12ab12) In Python/Jupyter, the miette visualization is used which puts clickable links next to the error code: ![image](https://github.com/microsoft/qsharp/assets/10567287/01e38445-ede4-4278-8c57-6540c472cfdc) In Monaco (used in the playground) links work like the VS Code version: <img width="692" alt="image" src="https://github.com/microsoft/qsharp/assets/10567287/62bf56a2-83de-4a95-a443-b5119c363fe6">
- Loading branch information
Showing
4 changed files
with
54 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters