get-search-view-results
by microsoft
Get the current search results from the Search view in VS Code
npx skills add https://github.com/microsoft/vscode --skill get-search-view-resultsGetting Search View Results
- VS Code has a search view, and it can have existing search results.
- To get the current search results, you can use the VS Code command
search.action.getSearchResults. - Run that command via the
copilot_runVscodeCommandtool. Make sure to pass theskipCheckargument as true to avoid checking if the command exists, as we know it does.