Skip to content

Missing documentation for getDisposable #6369

Open
@cseas

Description

@cseas

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());

https://code.visualstudio.com/api/language-extensions/programmatic-language-features#show-code-completion-proposals

Metadata

Metadata

Assignees

No one assigned

    Labels

    doc-enhancementsuggested addition or improvementextensibilityextension author content under /api

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions