VSCode Marmoset Extension

Download current version: marmoset-vscode-0.2.0.vsix

All versions   |   Changelog

VSCode Marmoset Extension Instructions

Installing or updating extension

  1. Download the extension from the downloads page. Save the VSIX file somewhere on your computer.
  2. Open VSCode and update VSCode if needed. Connect to one of the linux.student.cs.uwaterloo.ca servers using VSCode's Remote SSH extension. The Marmoset extension only works when connected to a CS teaching Linux server.
  3. Open the Extension sidebar, then click the three dots (⋯) at the top, and choose "Install from VSIX". Alternatively, open the Command Palette and search for "Install from VSIX".
  4. Click "Show Local", then select the VSIX file downloaded from first step.
  5. The Marmoset extension should now appear under the SSH list of extensions, and NOT the local list.
  6. Reload VSCode if VSCode tells you to.

Animation showing how to install extension

Submitting

  1. Open the workspace containing the files and folders to submit.
  2. In the Explorer, select all the files and folders to submit.
  3. Right-click your selection (control-click on Mac) and select "Submit to Marmoset".
  4. Choose the project to submit to. You may also be asked to select the course to submit to.
  5. Check the notification message to see if your submission succeeded or not.

Animation showing how to submit

Making the right selection when submitting

Be careful about how you select files for submission. For example, selecting a folder will submit a zip file containing that whole folder; selecting the files in that folder will instead create a zip file containing those files at the root. This is similar to creating zip files with Mac or Windows's built-in compress tool.

Difference between selecting a folder versus selecting files

Viewing Test Results

  1. After submitting, you can see your submission in the Explorer sidebar, in the Marmoset submissions view.
  2. Click the Refresh button to reload the list of submissions. If you just submitted, click Refresh to check if your submission has finished testing yet.
  3. Click a submission to expand it and see the individual test cases. Click a test case to see any available feedback in the output panel.
  4. If you want to view test results for a different assignment or project, click the Open button next to the Refresh button. Then choose a project.

Viewing test results

Settings

When a workspace is open, you can open the extension workspace settings by clicking the gear icon beside the Refresh button. The settings are automatically updated when you submit, but you can manually edit the settings in the workspace settings window.

Note that settings in the User or Remote tab will apply to different workspaces. Generally you'll want to edit the settings in the Workspace tab.

Workspace settings

Problems