Why does vscode search only files under the current project?

use cmd + p in vscode to quickly search for files based on file names, but it will also search for some recently opened files. How should it be set to search only files under the current project?

Mar.03,2021

Ctrl+Shift+F, then you can search the files under the current project by entering what you want to query.


Click in the blank space of the file directory on the left, enter the search file name, or click the middle icon, and vscode will automatically filter
image.pngimage.png

.
Menu