microsoft / vscode-azurestaticwebapps

Azure Static Web Apps extension for VS Code
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurestaticwebapps
MIT License
86 stars 33 forks source link

Disable quick pick items rather than hiding them when in web environment #819

Open nturinski opened 1 year ago

nturinski commented 1 year ago

As a workaround, you can use vscode.window.createQuickPick() and then put all this disabled items under a quick pick separator called like "not available"... and then in your qp.onDidAccept handler you could just no-op for those items underneath that separator.

Originally posted by @TylerLeonhardt in https://github.com/microsoft/vscode/issues/179023#issuecomment-1494730873