50 lines
1.1 KiB
YAML
50 lines
1.1 KiB
YAML
# CodeChunk CLI Configuration Example
|
|
# Save this as .codechunk.yaml in your project root
|
|
|
|
# Chunking settings
|
|
chunking:
|
|
# File patterns to include
|
|
include_patterns:
|
|
- "*.py"
|
|
- "*.js"
|
|
- "*.ts"
|
|
# File patterns to exclude
|
|
exclude_patterns:
|
|
- "**/test_*.py"
|
|
- "**/__pycache__/**"
|
|
- "**/node_modules/**"
|
|
- "**/.git/**"
|
|
# Maximum chunk size in lines
|
|
max_chunk_size: 500
|
|
# Remove comments from code
|
|
remove_comments: false
|
|
# Preserve docstrings
|
|
preserve_docstrings: true
|
|
|
|
# Prioritization settings
|
|
prioritization:
|
|
# Keywords that increase priority
|
|
keywords:
|
|
- "main"
|
|
- "core"
|
|
- "handler"
|
|
- "controller"
|
|
- "service"
|
|
# Maximum file size for processing
|
|
size_limit: 10000
|
|
# Exclude patterns
|
|
exclude_patterns:
|
|
- "**/test_*.py"
|
|
- "**/*_test.py"
|
|
|
|
# Output settings
|
|
output:
|
|
# Default output format: ollama, lmstudio, markdown
|
|
format: markdown
|
|
# Maximum token limit
|
|
max_tokens: 8192
|
|
# Include metadata in output
|
|
include_metadata: true
|
|
# Enable syntax highlighting
|
|
syntax_highlighting: true
|