NetCrawl Editor Bridge
Open a Compute Lab problem in desktop VS Code or browser-based GitHub Codespaces,
edit the real workspace file, and run that exact saved document through
NetCrawl's existing sandboxed runner.
Install
- Download
netcrawl-editor-bridge.vsix from the latest NetCrawl GitHub release.
- In VS Code or Codespaces, open Extensions: Install from VSIX... and choose
the file.
- In NetCrawl's Compute Lab choose Pair editor, then run
NetCrawl: Pair Editor and enter the displayed server URL and one-time code.
The long-lived editor credential is stored only in VS Code SecretStorage. The
pairing code expires after five minutes and cannot be reused.
Use
Choose the paired editor in the Compute Lab and press Open in VS Code. The
bridge writes only below netcrawl/problems/ inside the selected workspace.
After editing, press Run solution in the Compute Lab (or run NetCrawl: Run
Problem from VS Code). The bridge saves and runs that exact workspace file.
While it runs, VS Code highlights and reveals the current server-reported source
range. The highlight clears at the terminal outcome, while the game keeps the
complete execution trace available for replay.
The NetCrawl Activity Bar sidebar lists the Compute Node and task currently
bound to this editor window. Selecting one opens that exact task in the game and
redeems a short-lived, single-use handoff for the same signed-in player and
editor session. If the handoff expires or cannot be redeemed, the game opens the
same Compute Node with the normal Pair Code Server flow. Set
netcrawl.gameUrl when the game is hosted somewhere other than the production
URL; route paths in that setting are preserved.
If a workspace contains multiple folders, set netcrawl.workspaceFolder to the
exact folder name that should hold NetCrawl problems.