VS Code Extensions
N

Nucleus

by HarshVerma

Live stm32.toml diagnostics, hover, pin completion, and a real-time ITM trace dashboard — a thin client for the nucleus CLI.

Downloads

6

Rating

— (0)

Version

0.1.0

Last updated

Jun 13, 2026

A thin client for the Nucleus toolchain. It contains zero business logic: all diagnostics, hover, and completion come from the Rust language server.

Status (Phases 4 & 6 — complete)

LSP client (Phase 4)

  • Activates on workspaceContains:**/stm32.toml.
  • Spawns nucleus lsp (path configurable via nucleus.serverPath) and connects vscode-languageclient over stdio against **/stm32.toml.
  • Surfaces the server's diagnostics (red squiggles on pin conflicts), pin hover, and pin-name completion in the editor.

Trace dashboard (Phase 6)

  • The Nucleus: Open Trace Dashboard command (nucleus.openDashboard) hosts the React/Canvas dashboard (src/dashboard/) in a webview: log stream, live variable charts, and a CPU-load strip, fed by the nucleus trace WebSocket (nucleus.traceWebSocket, default ws://localhost:7878).
  • The same bundle runs standalone in a browser (dist/index.html).

Build

npm install
npm run build      # esbuild bundle -> dist/extension.js
npm run typecheck  # tsc --noEmit

The extension is not built by the Rust CI gate (make check); it requires npm install. The Rust language server it talks to is fully tested in CI.

Requires the nucleus CLI on PATH (or set nucleus.serverPath).

Related extensions