S
S
sverhvova2019-12-10 20:28:08
JavaScript
sverhvova, 2019-12-10 20:28:08

How to find out in vscode in which files export default is imported?

It is very convenient when you see an unknown function, hold down ctrl and click LMB on it and immediately move to its definition. But how do you do the opposite. For example, I have a module from which something is exported by default export default. How can I find all the files that import this module without writing the file name in the search, because the files can be named the same in different folders (often there is too much, you have to write the folder names as well). I heard that there are some dependencies in phpstorm.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
profesor08, 2019-12-10
@sverhvova

Right click on default- Find All Refferencesor something similar. Maybe it depends on the installed extensions. But export default is unlikely to find it, since there is a search by name, and here the name is not provided.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question