Skip to content

Add Active-Exercise-File Mode #709

Closed
@zottelsheep

Description

@zottelsheep

I think it's a hassle to always open a new file for each new exercise in watch mode. It would be great, to only have one file where the exercise is located. Then if you delete the //I'm not done comment, the contents of the file changes to the next exercise. I am new to Rust so I don't have to much insight of how this could be implemented, but I have come up with two possible solutions:

Solution 1

Create one file where the contents of the active exercise gets copied into. Maybe it could be an extra option to the watch command

Solution 2

Use a symbolic link, that gets updated to the active exercise. This could be simply used alongside the original behaviour, without changing much, as far as I am aware.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions