Project
vgrep
Description
The list of file extensions to index is hardcoded in src/core/indexer.rs. Users cannot configure which file types to index without modifying the source code. This is problematic for:
- Projects using non-standard extensions
- Users wanting to exclude certain file types
- Custom languages or formats
Error Message
Debug Logs
System Information
- Bounty Version: 0.1.0
- OS: Ubuntu 24.04 LTS
- Rust: 1.75+
Screenshots
No response
Steps to Reproduce
- Create a project with
.custom or .xyz files
- Run
vgrep index
- Files are not indexed (silently skipped)
- No way to configure this via CLI or config
Expected Behavior
- Default extensions in config file
- CLI to add/remove extensions:
vgrep config extensions add .custom
vgrep config extensions remove .txt
.vgrepignore file for exclusions
- Support glob patterns like
*.test.js
Actual Behavior
- Extensions are hardcoded
- Cannot be changed without recompiling
- No ignore file support
- List is duplicated in 3 places (DRY violation)
Additional Context
No response
Project
vgrep
Description
The list of file extensions to index is hardcoded in
src/core/indexer.rs. Users cannot configure which file types to index without modifying the source code. This is problematic for:Error Message
Debug Logs
System Information
Screenshots
No response
Steps to Reproduce
.customor.xyzfilesvgrep indexExpected Behavior
.vgrepignorefile for exclusions*.test.jsActual Behavior
Additional Context
No response