microsoft / microsoft/vscode-docs

/api/extension-guides/webview guide is outdated compared to vscode-extension-samples version

Open
#6,756 0 comments 0 reactions 1 assignee View on GitHub

@ntrogh is already working on this.

Since Oct 8, 2025.

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

Description

It seems like the extension guide for webview is outdated, it uses "typescript": "^2.8.3" and the deprecated vscode package instead of "@types/vscode": "^1.73.0" and so on. It also just didn't work for me.

The vscode-extension-samples has a version that seems more up to date: https://github.com/microsoft/vscode-extension-samples/tree/main/webview-sample
Could the guide be updated to reflect these changes?

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.