In VS Code with Volar, how can I view all implementations of a Vue 3 component?

858 Views Asked by At

So if I have a <script setup> component that's used in multiple places in my app, how can I view all it's usages?

The Go to Implementations or Go to References options don't do anything, so the only way I have currently is text searching for the import declarations across the whole project, then looking for the <Component> tags per file manually.

Is there a better way?

1

There are 1 best solutions below

1
On BEST ANSWER

https://github.com/johnsoncodehk/volar/issues/1724

You can use find file references in right click menu or command palette.