Get Search View Results

Get the current search results from the Search view in VS Code

gabrielmoreira Updated 17 repo stars

File contents

Getting Search View Results

  1. VS Code has a search view, and it can have existing search results.
  2. To get the current search results, you can use the VS Code command search.action.getSearchResults.
  3. Run that command via the copilot_runVscodeCommand tool. Make sure to pass the skipCheck argument as true to avoid checking if the command exists, as we know it does.

gabrielmoreira/agent-skills-mirror/tree/main/mirrors/repos/microsoft@vscode/extensions/copilot/assets/prompts/skills/get-search-view-results commit a4325c6269

Frequently asked questions

npx skillmds@latest add gabrielmoreira/get-search-view-results