A Visual Studio Code extension that displays XState state machines as an interactive tree outline, with search and smart navigation. It analyzes your source statically (no need to run your app) and works with both XState v4 and v5.
Features
📦 Workspace scanning — finds all XState machines across your project, updating live as you edit
🔍 Search — a dedicated search box (styled like the Extensions view) with type filtering and keyboard navigation
🎯 Smart navigation — click to jump to a definition; double-click an action/guard to jump to its implementation, or a transition target to jump to the target state
🧭 Cursor sync — highlights the tree node matching your editor cursor
🎨 Theme-aware icons — node icons use VS Code codicons and theme colors
Supported patterns
The extension detects statically defined machines in these forms: