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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant