Fractal Search for VS Code
Search your workspace using multi-scale φ-weighted indexing. Find files by meaning, not just text.
Features
- Multi-scale indexing — files are indexed at document, section, and paragraph level
- φ-weighted decay — results ranked using golden ratio (1.618) for natural relevance
- Co-occurrence detection — finds related files even without exact keyword match
- Filename search — quick search by file/directory names
- Auto-indexing — workspace indexed on open, re-indexes on save
Usage
- Open Command Palette (
Cmd+Shift+P)
- Type "Fractal Search"
- Enter your query
- Select a result to open the file
How it works
Document level → weight: 1.0
Section level → weight: 1/φ ≈ 0.618
Paragraph level → weight: 1/φ² ≈ 0.382
Related terms → weight: 1/φ³ ≈ 0.236
Settings
fractalSearch.maxResults — Maximum results (default: 20)
fractalSearch.maxDepth — Search depth 1-4 (default: 4)
fractalSearch.fileExtensions — Extensions to index
Author
Abhishek Srivastava — github.com/0x-auth
φ = 1.618033988749895
| |