This is a Visual Studio Code extension for the Onexi learning platform at MIT.
It integrates with GitHub and automates code testing.
The following features are added to the editor/title toolbar and to the command palette with the prefix "Onexi":
Lists repositories from the Onexi organization, then forks the selected repository and clones it to the local machine.
Get the latest updates from the original upstream repo by pulling all updates to the local clone.
Adds, commits and pushes all changes to the fork, then submits a pull request to original repository.
Sets the username, email and (if user decides) password information based on user input for the global git environment.
Removes username, email and password information.
Tests code locally based predetermined test cases (which students may freely edit).
The following settings are added to the User and Workspace settings under the title
Onexi. They can be configured to modify the behaviour of the extension.
For more information on how to change settings in Visual Studio Code, please visit the VSC website.
Controls the type of head account to initialize repositories from (either users or orgs). Default is "orgs".
Controls the name of the head account to initialize repositories from. Default is "onexi".
Controls the categories which users can filter repositories with. Default is configured for the Onexi learning platform.
The following external dependencies need to be installed separately first:
Students from HKUST and HKPolyU: