Angular: find usages
ng_find_usagesFind all usages of Angular components, directives, pipes, or services in your workspace by supplying a file path or selector. Returns elements, attribute selectors, pipes, and class references.
Instructions
Usages of a component, directive, pipe or service across the workspace: elements, attribute selectors, pipes and class references. Accepts a file path or a selector.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Scope the search to this folder (a file means its folder); default is the whole workspace | |
| input | No | Only tag usages binding this input/output; entries then point at the binding | |
| limit | No | How many usages to return, 100 by default | |
| selectorOrFile | Yes | Path to the declaring .ts, or the selector itself: app-user-card, [appDrag], money |