rage / tmc-vscode

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

TMC menu does not show any options - Cannot run TMC commands #675

Closed arvidkullhammar closed 3 weeks ago

arvidkullhammar commented 1 year ago

Describe the bug When starting the TMC extension on VSCode, no menu options appear. When trying to log in by using the vs code command, an error appears: command 'tmc.login' not found

To Reproduce Steps to reproduce the behavior:

  1. Download the TMC extension
  2. Start the TMC extension
  3. No menu options appear

Screenshots

Screenshot 2023-07-13 at 11 51 18 Screenshot 2023-07-13 at 11 51 51

Additional context This is my a new MBA m2. I have been able to use the extension on my MBP M1 work computer, and just wanted to continue the course on my new laptop.

Joonas22 commented 1 year ago

I'm having the same issue in Windows 10. Error:

[2023-07-13 11:15:39:040] [ERROR] An error occurred while downloading TMC-langs: Error — Request failed: Proxy Authentication Required — Error: Request failed: Proxy Authentication Required

amemon0326 commented 1 year ago

Update: Downloaded the Intel version of VSCode and managed to log into TMC. Not the greatest solution as it's significantly slower than the Silicon compatible version of VScode but it works.

Having the same error on my M2 MBA.

https://github.com/rage/tmc-vscode/assets/69292203/973b1325-1df9-4413-a632-8aaaad967796

OS: OSX 12.5.1 VSCode: 1.80.0 TMC Extension Version: 2.1.5

5yn7hW4v3 commented 1 year ago

VSCode: Version: 1.81.1 (Universal) Commit: 6c3e3dba23e8fadc360aed75ce363ba185c49794 Date: 2023-08-09T22:20:33.924Z (2 days ago) Electron: 22.3.18 ElectronBuildId: 22689846 Chromium: 108.0.5359.215 Node.js: 16.17.1 V8: 10.8.168.25-electron.0 OS: Darwin arm64 22.5.0

Running on OSX 12.5.1 M2 Max I have the same problem as @amemon0326. Nothing will show up after installing TMC and selecting the button on the left pane.

Installed VSCode Insiders on Intel version and emulated through roseta and it works fine.

Please provide a solution for us Mac Silicon folks! Really enjoying these MOOC.FI courses.

Thanks!

Heliozoa commented 1 year ago

Sorry for the late response, I was on holiday until recently. I'm doing some work on the extension, but unfortunately we don't have any M2 Macs available for testing so I can't replicate the issue or confirm whether any changes I make fix it or not. I'm improving the logging either way so if this doesn't get fixed in the next update, hopefully we'll be able to get some logs that help identify this issue.

@Joonas22 This looks like a separate problem, you can make a new issue for it.

5yn7hW4v3 commented 1 year ago

Sorry for the late response, I was on holiday until recently. I'm doing some work on the extension, but unfortunately we don't have any M2 Macs available for testing so I can't replicate the issue or confirm whether any changes I make fix it or not. I'm improving the logging either way so if this doesn't get fixed in the next update, hopefully we'll be able to get some logs that help identify this issue.

@Joonas22 This looks like a separate problem, you can make a new issue for it.

Thank you so much for the response! Please let us know how we can help test once ready! :) Luckily I still have other machines to do the MOOC on, but this new M2 is a new shiny toy that I can't wait to fully switch over to soon! LOL

Heliozoa commented 1 year ago

Hi, We just released a new pre-release version of the extension that may fix this issue. You can try it out by right-clicking the extension in the extensions menu and selecting "Switch to Pre-Release Version".

demo