Submit your code to a live Livetich class without leaving your editor.
Commands
Livetich: Sign in — sign in with your Livetich email + password (the token is kept in VS Code's secret storage).
Livetich: Submit active file — pick an assignment and submit the file you're editing. Its language is sent along, so the instructor sees it highlighted and can open/run it locally. Also available from the status-bar item.
Livetich: Sign out — clear the stored token.
Settings
livetich.apiUrl — base URL of the Livetich API (default http://localhost:3000).
How it works
The extension calls the same REST API the web app uses:
POST /auth/login → access token (stored via SecretStorage).
GET /assignments/mine → your assignments across enrolled courses.
POST /assignments/:id/submissions with { content, language }.
When the assignment is tied to a live session, the instructor's class-room panel receives the submission in real time.
Develop
npm install
npm run compile # or: npm run watch
Press F5 in VS Code to launch an Extension Development Host with the extension loaded.
Package
npx @vscode/vsce package
Produces a .vsix you can install locally or publish to the VS Marketplace / Open VSX.