Overview Version History Q & A Rating & Review
Periscope 🫧
Features
Periscope is a Vscode extension for high powered workspace contents search utilising ripgrep with on the fly peek across result suggestions.
Inspired by nvim's telescope
Instructions
Ideally assign a keybinding such as <super> + p
to invoke the periscope.search
command. Otherwise you can use the command prompt and search for periscope .
Input your query and move through the suggested results, the editor will reflect the current highlighted suggested item.
Hit enter to open the file or cancel to return to your original active editor
Requirements
Install ripgrep
Extension Settings
This extension contributes the following settings:
periscope.search
: Enable Periscope Search
Configuration Options
rgOptions
: Additional options to pass to the 'rg' command, you can view all options in your terminal via 'rg --help'.
rgGlobExcludes
: Additional glob paths to exclude from the 'rg' search, eg: '/dist/ '.
addSrcPaths
: Additional source paths to include in the rg search. You may want to add this as a workspace specific setting.
startFolderDisplayDepth
: The folder depth to display in the results before '...'.
endFolderDisplayDepth
: The folder depth to display in the results after '...'.
enableGotoNativeSearch
: If true, then swap to native vscode search if the custom suffix is entered using the current query.
gotoNativeSearchSuffix
: If the query ends with this suffix, then swap to the native search with the query applied.
Todo
[ ] Support fuzzy search (fzf)