rage / tmc-vscode

TestMyCode extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=moocfi.test-my-code
MIT License
25 stars 6 forks source link

Plugin not always active when opening a new workspace for a new course #657

Open Redande opened 2 years ago

Redande commented 2 years ago

We have received reports that for some students, when beginning a new course, when opening the workspace for the first time, the plugin is not active on the opened workspace. Due to this, the exercises won't be open either.

A workaround is to re-enable the plugin in the new workspace. VSCode will then prompt whether to trust the extension and the exercise files. After selecting yes to both, everything seems to work as normal.

sebazai commented 2 years ago

Just installed the latest TMC plugin on my M1 Mac and after opening the workspace and opening first parts of Python Programming exercises it took quite a while until it asked me if I trust the extension and the files it is trying to open.

jolampi commented 2 years ago

The trusted extension/workspace is probably what is causing this issue. The problem is that the extension was originally developed when such feature didn't exist, so I don't think that it can be easily fixed. I don't that think we can circumvent these newfound restrictions anyway, so I think that the best plan for now is to just update instructions and add these steps in.

austinkassman commented 1 year ago

Has this caused my command not found error in issue 669? Completely unable to use the extension.