How does vs code, find a file and where is it referenced?

in a project, there are often a lot of files, such as the methods defined by our middleware/auth.js, middleware/proxy.js, in these files, module.export = xxx.
how in vs code, you can know where to reference the file proxy.js, or method xxx, which is better for reading the code, do you have any good skills?

Mar.31,2021

  1. Select method name: right mouse button-> find all references
  2. Select method name: shift+f12

then VSCode pops up a mask, and the tree menu to the right of the mask shows all references


the easiest way to do global text search via commond + shift+f / ctrl+shift+f

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea03ef-47898.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea03ef-47898.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?