Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>EveryState Go To PathNew to Visual Studio Code? Get it now.
EveryState Go To Path

EveryState Go To Path

ajdin-imsirovic

|
2 installs
| (0) | Free
Ctrl+Click on {store.path} interpolations in EveryState component files to jump to their definition in store.js, intents.js, components.js, or policies.js
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

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

  1. Open this folder in VS Code:

    code /path/to/everystate-goto-path
    
  2. Press F5 to launch the Extension Development Host

  3. In the new VS Code window, open your project:

    File → Open Folder → select 004_08_V2
    
  4. Open any component file (e.g., appStatsToggle.js)

  5. 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.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft