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.36k stars 113 forks source link

Line adjustment on code insert does not update selection #196

Open NotMyself opened 3 years ago

NotMyself commented 3 years ago

The command to insert a code snippet updates the tour step's line property but does not update the step selection. This causes weird behavior in the player where the step is displayed at one line but the selection can be completely off the screen.

It would also be nice to disable adjustment completely.