As AsGoodAsItGets pointed out in one of the comments there is a feature request pending on VS Code github which will allow us to do that.
In the meantime I have a workaround:
- Close all open files
- Open Source Control
- Right click on
Changes
and chooseOpen changed files
. Note that it will open also deleted files.
- Go to
Search
and selectSearch only in Open Editors
Not ideal, but that’s how I search for my console.log leftovers 😉