You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running 'Find all references' on a Function defined within a function and returned in a composed object, should include references to the function defined on the composed object.
π Motivating Example
It's a common practice to compose objects within functions that are exported for use by the program.
For example, using object composition with pinia and vue:
However, using 'findAllReferences' on the function defined within the composing function does not detect references through the returned object:
Using 'findAllReferences' on the function defined on the returned object itself, does return such references:
π» Use Cases
When editing a function in a composed store, it is common to check for references to the function being changed.
The references of the function defined within the composable function only returns the references within the store, rather than uses linked by the composed object.
Currently you must scroll from the function being worked on to the composed object, and run 'Find All References' from there. It is a minor inconvenience, but an extremely common one.
The text was updated successfully, but these errors were encountered:
π Search Terms
"Find all References", "find references composable", "find all references returned"
β Viability Checklist
β Suggestion
Running 'Find all references' on a Function defined within a function and returned in a composed object, should include references to the function defined on the composed object.
π Motivating Example
It's a common practice to compose objects within functions that are exported for use by the program.
For example, using object composition with pinia and vue:
However, using 'findAllReferences' on the function defined within the composing function does not detect references through the returned object:
Using 'findAllReferences' on the function defined on the returned object itself, does return such references:
π» Use Cases
The text was updated successfully, but these errors were encountered: