microsoft / microsoft/vscode-docs
Missing documentation for getDisposable
Open
@ntrogh is already working on this.
Since Oct 8, 2025.
doc-enhancement
extensibility
- Dominant language
- Markdown
- Stars
- 6.6k
- Forks
- 5.8k
- Avg merge
- 11h 43m
- Merged PRs (30d)
- 123
Description
I want to build a VSCode extension for showing IntelliSense for design tokens for a UI library. More context on the use-case here.
I'm trying to understand how to do this with the Direct Implementation of "Show Code Completion Proposals" but the code example only mentions that we're supposed to use a getDisposable() function without any explanation of where to import this function from or what it's supposed to do if we've to write this on our own.
ctx.subscriptions.push(getDisposable());
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.