Skip to content

Commit 70a476e

Browse files
samhvw8mrubens
andauthored
feat read file range (#1440)
* feat read file range feat: add file truncation with code structure preview Add configurable line limit for large file handling with source code structure preview. This improves performance and memory usage while maintaining code readability. Key changes: Add maxReadFileLine setting (default: 4500) with UI controls Create efficient line counter utility using streams Add parseSourceCodeDefinitionsForFile for single file parsing Show truncation notice with code structure for large files Add comprehensive tests for new functionality Move file extensions to shared constant add line number pr comment Return definition ranges from tree-sitter make treesitter always add line add line number to rg search enhance tree siter output & fix test update snapshot fix test * Add translations, tweak range --------- Co-authored-by: Matt Rubens <[email protected]>
1 parent f181da1 commit 70a476e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+1624
-331
lines changed

locales/ca/README.md

Lines changed: 19 additions & 17 deletions
Large diffs are not rendered by default.

locales/de/README.md

Lines changed: 19 additions & 17 deletions
Large diffs are not rendered by default.

locales/es/README.md

Lines changed: 19 additions & 17 deletions
Large diffs are not rendered by default.

locales/fr/README.md

Lines changed: 19 additions & 17 deletions
Large diffs are not rendered by default.

locales/hi/README.md

Lines changed: 19 additions & 17 deletions
Large diffs are not rendered by default.

locales/it/README.md

Lines changed: 19 additions & 17 deletions
Large diffs are not rendered by default.

locales/ja/README.md

Lines changed: 19 additions & 17 deletions
Large diffs are not rendered by default.

locales/ko/README.md

Lines changed: 19 additions & 17 deletions
Large diffs are not rendered by default.

locales/pl/README.md

Lines changed: 19 additions & 17 deletions
Large diffs are not rendered by default.

locales/pt-BR/README.md

Lines changed: 19 additions & 17 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)