-
Notifications
You must be signed in to change notification settings - Fork 39.7k
"Find File References" #22977
Copy link
Copy link
Closed
Labels
javascriptJavaScript support issuesJavaScript support issuestypescriptTypescript support issuesTypescript support issuesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)Issue identified as 'upstream' component related (exists outside of VS Code)
Metadata
Metadata
Assignees
Labels
javascriptJavaScript support issuesJavaScript support issuestypescriptTypescript support issuesTypescript support issuesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)Issue identified as 'upstream' component related (exists outside of VS Code)
In typescript imports it is possible to ctrl+click to go to the definition of the file, but attempting to "find all references" for the file returns zero results.
This is useful in the instance that you want to rename/delete/majorly refactor a file and want to know all the places that might be affected. If a typescript file exports multiple symbols (classes, interfaces, enums, etc.) it can be a pain to "find all references" for each symbol, but if it worked on the file itself then that would be much easier.
This would of course also be useful for HTML, CSS, and vanilla JS as well.