Skip to content

Is there any way to know whether a walkthrough has been marked done or not #2494

Discussion options

You must be logged in to vote

Hi @yuqizhou77 ,

I would say, partially.

First of all, there is no API specifically about walkthroughs. There is no namespace or events that you could listen to know if some step has been "done".

On the other hand, each step can have its own completionEvents event, as described in https://code.visualstudio.com/api/references/contribution-points#Completion-events. Based on this documentation you could use onCommand or onLink events, and manually control/detect when the event is marked as done. But, these events only works if the text of the step contains buttons or links. Without it, the step is automatically marked as done, when the user selects the step. So, you wouldn't be able to contr…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by yuqizhou77
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants