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
{{ message }}
Repository navigation
Context menu 'Find all references' on files from file explorer. #66150
#6625
I am surprised why there are so little likes %)
Cases:
Node.js/JavaScript - all places where the current file is required by require.
BTW: if I use "Find all references" on `require('./some-file.js') - VS Code does show me them. So the ability itself is already supported but there is no interface in file explorer.
Node.js/TypeScript - all places where the current file is imported.
C++ - all places where the file is included.
Which HTML uses the current JS file.
Etc.
For many years I used WebStorm which supports this. But in VS Code I have no idea how to find the place where some file is used but global searching it by some regexp. I was looking for some plugins and workarounds for 2 hours and found nothing %).
Reacted by James Holcomb, Eugenio Rivera, Ricky Rattlesnake, Nathan Xu, Himanshu Tanwar, Mike Hodgson, Max Pronin, Alex Ilyaev, Tomas Kacur, Andrii Dieiev and 25 more
For me, in simple ES6 code with export and import in several files, there's no way to find the references.
If I right click the exported symbol and click Find All References, it will only find references in the open files in the editor, which is not so useful.
Alex Ilyaev (@alexilyaev) I don't know. Mainly I use WebStorm, and from time to time I try VS Code, report another feature request, and continue to use WebStorm.
Activity
alexilyaev commentedon Jun 12, 2019
Aleksey Chemakin (@Dzenly) Was there any progress on this?
For me, in simple ES6 code with
exportandimportin several files, there's no way to find the references.If I right click the
exported symbol and clickFind All References, it will only find references in the open files in the editor, which is not so useful.Dzenly commentedon Jun 13, 2019
Alex Ilyaev (@alexilyaev) I don't know. Mainly I use WebStorm, and from time to time I try VS Code, report another feature request, and continue to use WebStorm.