microsoft / microsoft/vscode-docs

Contribution points page contains example with resourceScheme but no explanation how to do it

Open
#5,617 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

doc-bug extensibility
Dominant language
Markdown
Stars
6.6k
Forks
5.8k
Avg merge
11h 43m
Merged PRs (30d)
123

Description

On the Contribution points page there is an image with resourceScheme == markdown.

This suggests that you can set the scheme of a Webview.

I can't find any reference to how to set a Webview URI scheme on the VSC API doc page

Looking at the VSC source for extension markdown this method is not used, a previous version used a custom context variable.

Is this example image still valid?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Contribution points menu example and its linked image, then compare the resourceScheme example with the vscode-api Webview documentation and the referenced markdown-language-features package.json entry. Done means confirming whether the image is valid and either explaining the setting in the documentation or correcting the example.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.