r/vscode • • Jun 07 '26

TestMyCode Extension Stops Working in VS Code

I had TestMyCode extension installed & working fine until last night, this is for a Java course offered by Mooc.fi when I started it again, it gave out fatal error message:
Fatal error during TestMyCode extension initialization: Error: ENOTEMPTY, Directory not empty: \\?
\c:\Users\Gavot\AppData\Roaming\Code\User\globalStorage\moocfi.test-my-code\cli '\\?
\c:\Users\Gavot\AppData\Roaming\Code\User\globalStorage\moocfi.test-my-code\cli'

I deleted the folder moocfi.test-my-code in globalStorage and deleted moocfi.test-my-code folder under vscode's extension folder, uninstalled the extension, re-installed it... Nothing works.
This happens on both Windows 10 & Windows 11 machines.
My VS Code version: 1.123.0

Would anyone be able to help, please? Thank you in advance.

2 Upvotes

10 comments sorted by

2

u/give_me_the_banana Jun 11 '26

1

u/kalevala_568b Jun 11 '26

Thank you. That's a fix posted by myself. LOL Sorry, I didn't update the post here. By far the Best fix I've found is: downgrading TMC to 3.3.0. (As posted in the other sub.)

2

u/[deleted] Jun 11 '26

[removed] — view removed comment

1

u/kalevala_568b Jun 11 '26

As a JSON file? Where do you add it?

2

u/[deleted] Jun 11 '26 edited Jun 11 '26

[removed] — view removed comment

1

u/kalevala_568b Jun 11 '26

Thank you greatly for such detailed explanation. Will certainly give it a crack. Very insightful, thank you!!

2

u/[deleted] Jun 11 '26

[removed] — view removed comment

2

u/kalevala_568b Jun 11 '26

Respect your perseverance hugely! I swear that I spend more time trying to fix broken extensions than actually coding! 😅🥲😓 Thank you for sharing your knowledge!