-
Notifications
You must be signed in to change notification settings - Fork 26
Maintain a "history" of Didact tutorials opened so can go "back" #102
Comments
Wondering if having a command that provides a list of the last X didact files visited would be enough. Hit a command, select from the list, and go... |
Looks like "history" in a particular editor is tied to |
Here's some really early work in progress...
|
I think we need to tie to the default history navigation of VS Code to avoid implementing our own history cache.
I think that the normal keybinding should be used and working. it will allow to have it working by default as expected by VS Code users .
this one sounds tricky. I think that implementing it in a second iteration would be fine.
Which issues? How does it compare to default history navigation behavior?
this sounds a perfectly fine limitation. Relying on default VS Code history might bring the feature for free. |
This is VERY early work, so there's still lots of issues. Just trying to get a handle on things.
Yes, probably a good idea. And I would love to, but I was unable to find a good example of exactly how to implement that :)
Yes, I agree - but key binding and the "when" condition at this point are not working for me. Will keep working.
No clue. I've never used the default history navigation feature. :) |
Created PR - #166 |
Initial implementation has been merged - will continue to improve (see #184) |
Much like a web browser, we should implement some sort of history that the user can navigate forward and back through. If you open a didact tutorial, which opens a second tutorial, you should have a way "back" to the original tutorial.
This also implies that we keep track of a cache of these different files so we remember their state better. Right now we only cache the last one.
The text was updated successfully, but these errors were encountered: