Skip to content

Command enablement not enforced for TreeItems #157493

Closed

Description

Command enablement is not being enforced, at least not for TreeItems with a command on it.

Reproduce:

  1. Add a command to a vscode.TreeItem node (for example openDescription command in GHPR extension)
  2. Set enablement of the command in the package.json file to false
  3. Build
  4. Press on the TreeItem node with the command on it
  5. Command gets executed even though it's not enabled

Activity

  1. added
    bug
    on Aug 8, 2022
  2. added
    tree-views
    on Aug 8, 2022
  3. added a commit that references this issue on Aug 9, 2022
    4116ddb
  4. added
    unreleased
    on Aug 9, 2022
  5. added a commit that references this issue on Aug 9, 2022
    532560f
  6. added
    insiders-released
    and removed
    unreleased
    on Aug 9, 2022
  7. added a commit that references this issue on Aug 10, 2022
    ffdbc02
  8. locked and limited conversation to collaborators on Sep 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

buginsiders-releasedtree-viewsverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions