![Umar Hansa](https://web.dev/images/authors/umarhansa.jpg) Umar Hansa [X](https://twitter.com/umaar) [Homepage](https://umaar.com/)

<br />

![A project wide search with an optional file scope](https://developer.chrome.com/static/blog/project-wide-search-with-optional-file-scope/image/a-project-wide-search-an-5f2ca297b5092.gif)

Search across all sources with `Cmd + Opt + F` / `Ctrl + Shift + F`. If your query returns too many matching files, you can limit the search scope by changing the search query from:

`query`

To:

`query file:main.js`

Or:

`query file:main`