vscode-extension
onexi.org
This is a Visual Studio Code extension for the Onexi learning platform at MIT.
It integrates with GitHub and automates code testing.
Features
The following features are added to the editor/title toolbar and to the command palette with the prefix "Onexi":
init (alt+shift+i)
Lists repositories from the Onexi organization, then forks the selected repository and clones it to the local machine.
update (alt+shift+u)
Get the latest updates from the original upstream repo by pulling all updates to the local clone.
submit (alt+shift+s)
Adds, commits and pushes all changes to the fork, then submits a pull request to original repository.
login (alt+shift+l)
Sets the username, email and (if user decides) password information based on user input for the global git environment.
logout (alt+shift+o)
Removes username, email and password information.
test (alt+shift+t)
Tests code locally based predetermined test cases (which students may freely edit).
Configuration
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.
onexi.headType
Controls the type of head account to initialize repositories from (either users or orgs). Default is "orgs".
onexi.headName
Controls the name of the head account to initialize repositories from. Default is "onexi".
onexi.repoCategories
Controls the categories which users can filter repositories with. Default is configured for the Onexi learning platform.
External Dependencies
The following external dependencies need to be installed separately first:
Authors
Students from HKUST and HKPolyU: