How to search only in currently open files in vscode?

"Search: target particular set of files #20530" located here: https://github.com/Microsoft/vscode/issues/20530

Is tracking a search "scope" such as "all open files".


Hit Ctrl + Shift + F and enable the icon at the end of the 'file to include' text field

VS Code search toolbar


The ability to search only in the open editors is in the Stable Build v1.55.

search in open editors only

As you can see, the icon is at the end of the files to include input so you will have to have that showing (click the three dots ... just below the search options if files to include is not already showing).


For me somehow it works just by typing ./ in the files to exclude field.

Here