Double Shift Search (VS Code Extension)


A minimalist VS Code extension that brings the JetBrains "Double Shift" (Search Everywhere) functionality to Visual Studio Code.
Project Description
Double Shift Search allows you to quickly open the command palette, find files, or search across your workspace simply by double-tapping the Shift key. This seamless transition is perfect for developers moving from JetBrains IDEs (IntelliJ IDEA, WebStorm, PyCharm, etc.) or those who want a lightning-fast keyboard shortcut for navigation.
Features
- Double Shift Trigger: Hit
Shift twice rapidly to open the Search Everywhere palette.
- Unified Custom Palette: An interface that replicates the JetBrains Search Everywhere experience, natively integrated into VS Code.
- Deep Content Search: Searches file contents instantly, skipping heavy assets (archives, media, binaries) for maximum speed.
- Workspace Symbols: Queries workspace symbols to jump straight to classes, methods, and functions.
- Smart Multi-Term Fuzzy Matching: Type multiple words (e.g.,
folder config) to match across your entire workspace.
- CamelHump/Acronym Matching: Type initials like
gua to jump to getUserAccount.ts. Matches are ranked by quality.
- Open Editors First: Prioritizes currently open files at the top of the list.
- Staged File Priority: Files staged in Git are ranked ahead of everything else.
- Vendor/Library Deprioritization: Folders like
vendor, Pods, and node_modules are ranked lower automatically.
Configuration
You can customize the behavior of Double Shift Search in your VS Code settings:
doubleShiftSearch.useSelectionAsQuery (Default: false): Automatically pre-fills the search palette with the text you currently have selected in your active editor.
doubleShiftSearch.excludeExtensions (Default: ['.zip', '.tar', '.png', ...] ): A list of file extensions to completely ignore when searching file contents.
doubleShiftSearch.deprioritizedFolders (Default: ['vendor', 'Pods', 'site-packages', ...]): A list of folder names to rank lower in search results, without hiding them entirely.
Tech Stack
- Framework: VS Code Extension API
- Language: TypeScript
- Testing: Mocha & VS Code Test Electron
Installation & Setup
1. Install from the Marketplace
You can install the extension directly from the VS Code Extension Marketplace by searching for Double Shift Search.
2. Manual Setup (Development)
git clone https://github.com/tristanbudd/vscode-double-shift-search.git
cd vscode-double-shift-search
npm install
npm run compile
Press F5 in VS Code to launch the Extension Development Host and test the extension.
Scripts
npm install # Install dependencies
npm run compile # Compile TypeScript files
npm run watch # Watch and recompile on changes
npm run lint # Run ESLint for code analysis
npm run test # Run extension test suite
Credits & Licence
This project is licensed under the MIT Licence.