Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TestMyCode: Reset exercise action doesn't seem like resetting and requires closing the opened files #659

Open
sebazai opened this issue Sep 1, 2022 · 0 comments

Comments

@sebazai
Copy link
Contributor

sebazai commented Sep 1, 2022

Describe the bug
If you try to reset an exercise you need to close the open files that were reset for it to take effect

To Reproduce
Steps to reproduce the behavior:

  1. Go to exercise and open the exercise files from src/, type something and save
  2. Click on CMD + SHIFT + P
  3. Select TestMyCode: Reset exercise
  4. The opened file still has the changes you made

Expected behavior
Expect the file to be reset to its original state

Desktop (please complete the following information):

  • OS: macOS Monterey 12.5
  • VSCode Version 1.70.2
  • TMC Extension Version 2.1.5
  • Other related extensions.

TMC Extension logs
TMC -> Settings -> Set log level to verbose and reproduce error and paste logs.

[2022-09-01 20:32:28:866] [INFO] Run: "/Users/subustian/Library/Application Support/Code/User/globalStorage/moocfi.test-my-code/cli/tmc-langs-cli-aarch64-apple-darwin-0.25.2" "--client-name" "vscode_plugin" "--client-version" "2.1.5" "core" "reset-exercise" "--exercise-id" "151869" "--exercise-path" "/Users/subustian/Library/Application Support/tmc/vscode/mooc-programming-22/part01-02_seven_brothers"

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant