Overview Version History Q & A Rating & Review
EveryState Go To Path
VS Code extension that enables Ctrl+Click (Go to Definition) on {store.path} interpolations in EveryState component files.
What it does
Detects {ui.toggleLabel} patterns inside JS strings
Also detects plain path strings like forEach: 'state.authors' and bind: 'state.searchTerm'
Finds the nearest store.js by walking up from the current file
Parses the store's nested object to build a path → line number map
Jumps to the exact line in store.js on Ctrl+Click
Testing locally
Open this folder in VS Code:
code /path/to/everystate-goto-path
Press F5 to launch the Extension Development Host
In the new VS Code window, open your project:
File → Open Folder → select 004_08_V2
Open any component file (e.g., appStatsToggle.js)
Ctrl+Click on {ui.toggleLabel} — it should jump to store.js at the toggleLabel line
Supported patterns
Pattern
Example
Interpolation
text: '{ui.toggleLabel}'
forEach path
forEach: 'state.authors'
bind path
bind: 'state.searchTerm'
Intent path
onClick: 'intent.selectAuthor(author)'
How it finds store.js
Walks up from the current file's directory, checking each level for a store.js file. Stops at the workspace root or after 10 levels.
Caching
Parsed store paths are cached by file modification time. The cache auto-invalidates when store.js changes.