microsoft / codetour

VS Code extension that allows you to record and play back guided tours of codebases, directly within the editor.
https://aka.ms/codetour
MIT License
4.34k stars 109 forks source link

Tour going to non existing steps with CTRL+{arrow} #230

Open JonatasAmaral opened 2 years ago

JonatasAmaral commented 2 years ago

Using CTRL + ← / CTRL + → to navigate, can make Codetour go to 'out of boundaries" steps, like -1

after the last: image

before the first: image

lostintangent commented 2 years ago

Hey! Thanks for reporting this. Yeah the next/previous links have safe guards to prevent this, but the keyboard shortcut doesn't check if there's a step before trying to navigate the tour. I'll add this logic in the next extension release 👍