Is there any way to know whether a walkthrough has been marked done or not #2494
-
I am trying to build an extension providing a command that will warn user to read the walkthrough if the user hasn't mark the walkthrough done. Is it possible to get the walkthrough state or any way to listen to the "mark done" event? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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 If the current Hope this helps |
Beta Was this translation helpful? Give feedback.
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 useonCommand
oronLink
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…