devtools

package
v0.8.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2026 License: Apache-2.0 Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package devtools links the development tools into an application: the visual inspector, the control channel, the state that survives jamb dev's restarts (package devtools/hot; not in a web build, see hot.go), and the scenes of package scene (see docs/tools.md, "Scenes"). The inspector shows the element tree, styles, layout, accessibility and frame timings of a window, and Ctrl+Shift+I opens it (see docs/tools.md, "Visual inspector"). The control channel lets `jamb ctl` and coding agents read and drive the running app when JAMB_CONTROL=1 (see docs/tools.md, "Control channel").

The tools are left out of a program unless the program imports this package, so a release build carries none of their code. Import it for its side effect in the main package:

import _ "github.com/tyler-builds/jamb/devtools"

`jamb dev` links it into every app it builds, without the app importing it. Apps that set App.DevTools(true) need the import for Ctrl+Shift+I to work.

Directories

Path Synopsis
Package hot keeps an app's state across the restarts of `jamb dev`: every signal the app makes with ui.NewSignal, and every ui.Local, has the value it had before the restart, with no code in the app.
Package hot keeps an app's state across the restarts of `jamb dev`: every signal the app makes with ui.NewSignal, and every ui.Local, has the value it had before the restart, with no code in the app.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL