Skip to content

Disable tree view while refreshing? #2123

Discussion options

You must be logged in to vote

I could not find anything in the api docs about how to disable context menu items without removing them. Are there any examples out there? I could not find anything.

You can set a when clause on the enablement property of the command in the contributes.commands section of your package.json

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@gee4vee
Comment options

@isidorn
Comment options

@gee4vee
Comment options

@gjsjohnmurray
Comment options

Answer selected by gee4vee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants