NgRx InspectorNgRx Inspector traces relationships between NgRx actions, effects, reducers, and selectors directly in VS Code. Related source locations appear in one panel, with separate tabs for each inspected action or selector. Exploring the store
Analysis runs locally without executing application code or sending source code to a service. NgRx Inspector is an independent extension, not an official NgRx release. Getting startedA trusted workspace, VS Code 1.96 or later, and the built-in TypeScript and JavaScript Language Features extension are required. Action navigation relies on TypeScript reference resolution in the workspace. With the cursor on an action or selector in a TypeScript or TSX file, Inspect NgRx is available from the editor context menu, the Command Palette, or the keyboard shortcut below. Results open in the NgRx Inspector bottom panel. Unsupported symbols show a notification.
The shortcut is a chord: the first combination is released before the final letter. It applies while a TypeScript or TSX editor has focus and can be customized through Keyboard Shortcuts. Inspecting actionsFor a dispatch such as the following, inspecting
The action inspection shows the dispatch site, subscribers, and recognized actions emitted by effects:
The panel shows:
A click on a source row opens and highlights its code. Effect branches expose recognized output actions and their subscribers; a double-click on an output action opens its own inspection tab. Action types come from TypeScript hover information. An unresolved or widened type displays Unavailable. Inspecting selectorsThe panel shows:
Tracing selector inputs
The tree traces the selector back to Inspecting selector factories
The inspection follows the returned selector through Tracing shared dependencies
Both input branches pass through Managing inspection tabsEach distinct action or selector opens a closable tab. Inspecting the same item again refreshes its existing tab. Results are snapshots; rerunning the command refreshes them after source edits. Tabs remain available for the current extension session. Understanding analysis limitsResults show static source relationships, not runtime behavior or guaranteed selector output changes. Dynamic code, custom abstractions, and unsupported NgRx patterns may produce incomplete results. Signal Store event APIs are not supported. If action results are missing while TypeScript loads, Find All References can help check language service readiness. Developing and testingBuild instructions and test commands are available in the development guide. LicensingNgRx Inspector is available under the MIT license. Copied example-app test fixtures retain their upstream license. |




