Skip to content

Keep window.showWarningMessage dialog open after clicking specific button #73

Discussion options

You must be logged in to vote

In the Azure extensions we do essentially exactly this: https://github.com/microsoft/vscode-azuretools/blob/main/utils/src/userInput/showWarningMessage.ts

The approach is to just reopen the exact same message if the user clicks "Learn More". It looks a little strange, but it gets the job done.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@hugomontero
Comment options

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