v1.2.0 — Environment Setup Fix + Configurable Settings
What's New in v1.2.0
Bug Fixes — Environment Setup
- Fixed all vendordep URLs — Previous URLs pointed to non-existent
MARSLib/MARSLiborg. Now uses canonicaljsonUrlfrom each vendordep file. - Added 4 missing vendordeps — LimelightLib, PhotonLib, QuestNav, and WPILibNewCommands are now included (was only downloading 5 of 9).
- Fixed HTTPS redirect handling — GitHub raw URLs chain multiple redirects; the downloader now follows up to 5 hops.
- JSON validation — Downloaded vendordeps are validated before saving to prevent corrupt files.
- Fixed Gradle crash — Setup now runs
gradlew buildinstead ofgenerateVersionFile spotlessApplywhich crashes due to theeventDeploydependency chain. - Fixed git hook installation — Writes hooks directly to
.git/hooks/instead of non-existent.githooks/directory.
Bug Fixes — Background Daemon
- Fixed daemon crash — Uses
compileJava(which properly chains togenerateVersionFile) instead of callinggenerateVersionFiledirectly. - Added 15s cooldown and concurrent execution guard to prevent build spam.
Bug Fixes — Status Bar
- RIO address is now configurable — Derived from
marslib.teamNumbersetting instead of hardcodedroborio-2614-frc.local. - Git sync auto-detects default branch — No longer hardcoded to
origin/master. - Shows both ahead and behind counts.
New Features
- Settings page (
marslib.teamNumber,marslib.rioAddress,marslib.projectDoctor.enabled) — accessible from VS Code Settings UI. - MIT License added.
Cleanup
- Removed stale
mock_run.jsandmock_run2.jsfrom repository. - Removed old VSIX build artifacts from disk.
Install
Download marslib-vscode-1.2.0.vsix and install via:
code --install-extension marslib-vscode-1.2.0.vsix