/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

Maintainers usually reply within 1 day

@ntrogh is already working on this.

Since Oct 8, 2025.

Assessment

This issue has not been assessed yet.

Description

doc-bug extensibility

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?

Dominant language
Markdown
Stars
6.7k
Forks
5.8k
Avg merge
1d 7h
Merged PRs (30d)
138

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

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.

More from microsoft/vscode-docs

All issues in microsoft/vscode-docs

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.