vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Add context key for current workspace folder

Open isc-bsaviano opened this issue 7 months ago • 0 comments

I would like to add a when clause context to some of my extension's menu options that depends on properties of the workspace folder. I planned to use in operator and have my extension set a context key with an array of all workspace folder URIs that satisfy my condition. However, there is no context key for the current workspace folder. For reference, these options are in the commandPalette, editor/title, editor/context, and explorer/context menus.

isc-bsaviano avatar May 20 '25 12:05 isc-bsaviano