Sample code illustrating the VS Code extension API.
Sample code illustrating the VS Code extension API.
This repository contains sample code illustrating the VS Code extension API. Each sample is a self-contained extension that explains one topic in VS Code API or VS Code's Contribution Points. You can read, play with or adapt from these samples to create your own extensions.
You can expect from each sample:
You need to have node and npm installed on your system to run the examples. It is recommended to use the node version used for VS Code development itself which is documented here
git clone https://github.com/Microsoft/vscode-extension-samplescode <any-sample-folder>npm install in the terminal, then F5 to run the sampleCreate new issue in microsoft/vscode-extension-samples
VSCode not validating sample
Asked for article description suggestions - didn't give one
command 'vscode-samples.wasm-component-model.run' not found
chat-sample does not work with Claude model
Hello world - Compilation didn't run at the launch of the extension (press F5)
lsp-embedded-request-forwarding: CSS completion not working - Error: Unable to resolve text model content for resource
running wasm-language-server on vscode.dev
Add examples for viewsContainers
Fix lsp-sample guide