Skip to content

Conversation

@WhiteHades
Copy link

Closes #532

Adds token counts next to each file and directory in the directory structure view so users can easily identify and exclude large items.

Changes:

  • Added token_count field to FileSystemNode
  • Token counting happens during content gathering
  • Directory counts are bold, file counts are normal weight
  • Summary shows total tokens (tree + content), matching root directory count

Testing:
Tested locally with various repo sizes - speed is slower than the current iteration given that it now counts the token per file.

@github-actions
Copy link

github-actions bot commented Dec 6, 2025

Hi there! We haven’t seen activity on this pull request for 45 days, so I’m marking it as stale.
If you’d like to keep it open, please leave a comment within 10 days. Thanks!

@github-actions github-actions bot added the stale label Dec 6, 2025
@github-actions
Copy link

Hi there! We haven’t heard anything for 10 days, so I’m closing this pull request. Feel free to reopen if you’d like to continue working on it. Thanks!

@github-actions github-actions bot closed this Dec 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

(feat): Display token counts for easier file exclusion

1 participant