nvim-tree / nvim-tree/nvim-tree.lua
Display line count next to file names
Open
Nobody has claimed this yet.
feature request
- Dominant language
- Lua
- Stars
- 8.6k
- Forks
- 639
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 2
Description
Feature request related to a problem
Having line count visible in the IDE file tree is useful because it gives instant context about a file without opening it.
- Quick size awareness → Spot large or complex files immediately.
- Better navigation → Know whether you’re opening a small tweak or a huge module.
- Refactoring hints → Oversized files often signal architectural issues.
- Code review planning → Helps estimate effort and prioritize work.
- AI-era control → Detect when generated code makes files grow too much.
Describe the solution you'd like
This is what I imagine
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file, test, or entry point is named in the issue. Start by locating the file-tree rendering code and existing tests, then determine how line counts should appear beside file names. Done means the tree displays accurate line counts next to file names while preserving existing navigation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua, neovim
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100