gpui-devtools
MIT-licensed, framework-agnostic developer tools for GPUI applications.
The first release provides an element picker and inspector with:
- source locations and GPUI element IDs
- element bounds and content size
- raw
Divstyle refinements - a global toggle action and optional default keybinding
Install
[]
= ["dep:gpui-devtools", "gpui/inspector"]
[]
= { = "https://github.com/joris-gallot/gpui-devtools", = true }
Use
app.run;
The default shortcut is cmd-alt-i on macOS and ctrl-alt-i elsewhere. You can dispatch gpui_devtools::ToggleInspector yourself or customize installation:
init_with;
The inspector relies only on GPUI's Apache-2.0 inspector hooks. Its implementation is original and does not include Zed's GPL-licensed inspector UI.
Roadmap
- computed style view and temporary style editing
- render, layout and paint profiler
- repaint highlighting
- focus and keybinding inspector
- action and event timeline
- entity lifecycle diagnostics