Brings the power of ck semantic code search directly into Visual Studio Code and Cursor.
- Semantic Search: Find code by meaning, not just keywords
- Hybrid Search (Default): Combine semantic understanding with keyword precision
- Regex Search: Traditional pattern matching when you need it
- Automatic Reranking: Cross-encoder reranking enabled by default for best relevance (⚡ RERANK badge)
- Smart Context: 2 lines of context before/after matches for better understanding
- Crisp, Clean Interface: Terminal-inspired monospace design
- Live Results: Search as you type with 300ms debouncing (TUI-style)
- Visual Score Indicators: Color-coded relevance scores (cyan/blue/yellow/orange) with visual bars
- Line-by-Line Previews: Context-aware preview with accurate line numbering
- Relative Paths: Clean file paths relative to workspace root
- Keyboard Navigation: ↑/↓ to navigate, Enter to open, Esc to reset
- Match Highlighting: Visual distinction for matching lines in previews
- Direct File Navigation: Click any result to jump to exact location with brief highlight
- Real-time Index Status: Green dot when indexed, yellow when needs indexing
- One-Click Reindexing: Rebuild workspace index with progress notifications
- Editor Integration: "Search Selection" command for quick searches
- ck must be installed and available in your PATH
- Install with:
cargo install ck-search
ck: Search(Ctrl+Shift+;/Cmd+Shift+;) - Open search panelck: Search Selection(Ctrl+Shift+'/Cmd+Shift+') - Search selected textck: Reindex- Force rebuild of search index
- Hybrid - Combines semantic and keyword search (default)
- Semantic - Find code by concept and meaning
- Regex - Traditional grep-style pattern matching
↑/↓- Navigate resultsEnter- Open selected result or trigger searchEsc- Return focus to search input
ck.mode- Integration mode:cli(default) ormcpck.cliPath- Path to ck binary (default:ck)ck.defaultMode- Default search mode:hybrid,semantic, orregexck.topK- Maximum number of results (default: 100)ck.threshold- Minimum relevance threshold (default: 0.02)ck.pageSize- Results per page (default: 50)
cd ck-vscode ./install-cursor.shThen restart Cursor.
cd ck-vscode npm install npm run compile code --install-extension . --forcecd ck-vscode npm install npm run compile- Open in VS Code
- Press F5 to launch Extension Development Host
- Test search functionality
npm run packageThis creates a .vsix file you can install locally or publish to the marketplace.
- Phase 1: CLI mode + sidebar UI
- Automatic reranking for better relevance
- Visual score indicators and crisp UI
- Line numbers and match highlighting
- Relative path display
- Phase 2: MCP server integration for persistent connections
- Phase 3: Full syntax highlighting in previews
- Phase 4: Streaming results for large codebases
- Phase 5: Multi-workspace support
Same as ck - Apache 2.0 or MIT