get-search-view-results

作者: microsoft

從 VS Code 的搜尋檢視中取得目前的搜尋結果

npx skills add https://github.com/microsoft/vscode --skill get-search-view-results

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.