Grep the whole workspace and show results in the peek view instead of the file search view.
xgrep
was inherited from wmedrano_vscode_extension , all credit goes to it.
- ripgrep
- PowerShell (on Windows)
Quick Search
allows using the Quick Input to grep as you type and jump to
file without having to go to the Search pane.
Quick Search
can be invoked by calling Quick Search
title command or
binding the "extension.xgrep.quickSearch" command.
Default key binding:
- mac:
cmd + shift + i
- win:
ctrl + shift + i
Almost same as Quick Search
, except it automatically search for the selected
text or the word at the cursor.
Default key binding:
- mac:
cmd + shift + j
- win:
ctrl + shift + j
There are currently no customizable settings.
- Search keyword contains special characters (such as
"'`\.*
) might not work.
cd <extension folder>
npm install
vsce package
code --install-extension <the .vsix>