Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for command URIs in JSON schema hover cards #215941

Open
estruyf opened this issue Jun 17, 2024 · 0 comments
Open

Support for command URIs in JSON schema hover cards #215941

estruyf opened this issue Jun 17, 2024 · 0 comments
Assignees

Comments

@estruyf
Copy link

estruyf commented Jun 17, 2024

I am unsure if it is a feature or bug, but I wanted to implement some command URIs in my package.json configuration settings so that it would be easier for the user to open the docs in their browser or Visual Studio Code.

What I did is the following:

  • In the markdownDescription description of a configuration property, I added the following text:
Specify the list of projects to load in the Front Matter CMS. [Docs](https://frontmatter.codes/docs/settings/overview#frontmatter.projects) - [View in VS Code](command:simpleBrowser.show?%5B%22https://frontmatter.codes/docs/settings/overview%23frontmatter.projects%22%5D)
  • When I test this out in the settings UI, it works as expected:
Screen.Recording.2024-06-17.at.12.04.25.mov
  • While testing it out in the settings.json file, I noticed the command URIs are not rendered:

image

  • Same for rendering those links from a JSON schema:

image

It would be handy to support command URIs set from within JSON schemas in those hover cards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants