Conduct global search on vs code, just below the global search window we can see the Open in editor link, just click and it will open the new file where all the search results will be listed along with filename and the line containing the search query