This autolab extension, made for Lynbrook High School, allows for students to connect their Autolab accounts to this Visual Studio Code extension and download and submit assignments and view the scores/feedback without the need to open autolab in the browser, saving a significant amount of time and
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Open Developer Tools (F12 or Right Click -> Inspect).
Go to the Application tab (Chrome) or Storage tab (Firefox).
Expand Cookies and select https://cs.lhs.fuhsd.org.
Copy the value of _autolab3_session. Some server versions use _autolab_session.
Paste the value into the command input. You can also paste the full Cookie header.
Workspace Path: Set the folder where you want your assignments to be downloaded. You can type the path manually or click the Select Folder... link in the settings description.
Course Name: The default is APCS-A-25. Change this setting when the course URL changes.
Personal Info: Set your Author Name, Period, and Collaborators for Java file header updates.
Usage
Click the Autolab icon in the Activity Bar (left side).
Click the Download icon on an assignment to download it.
Right-click a downloaded assignment to Submit or Open it.
Use the Search icon to filter assignments.
Requirements
An account on the Lynbrook High School Autolab server.
Enrolled in the APCS-A course.
Extension Settings
autolab.workspacePath: Directory to save assignments.
autolab.courseName: Course name from the Autolab URL.
autolab.authorName: Name to use in Java comments.
autolab.period: Class period to use in Java comments.
autolab.collaborators: Collaborators to use in Java comments.
autolab.userAgent: Optional browser User-Agent value. Use this only if Cloudflare rejects the default value.
Known Issues
The extension reads the current Autolab HTML. A server page change can require a parser update.
If the session cookie expires, run Autolab: Set Session Cookie again.
Release Notes
0.0.8
Added portable Windows paths, safe ZIP extraction, reliable submission archives, request cancellation and timeouts, secure cookie storage, configurable course names, and real unit tests.
0.0.6
Fixed issues with opening assignment folders and button responsiveness.
0.0.4
Added a folder picker in Settings for easier configuration.
0.0.3
Fixed sidebar icon visibility.
0.0.1
Initial release of Autolab for Lynbrook High School.