Explorer: show file count and current position in the file tree
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 50/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Tranquilo
- Stack tecnológico
- lua, neovim
- Área
- developer-experience
Línea de trabajo
Start from navigate_next and navigate_prev in actions.lua, where the total count and current index are already computed, then find where the explorer panel and statusline components are rendered. Decide which of the proposed indicators to implement first, since the issue offers several alternatives without choosing one. Done means the selected indicator updates persistently as you move with ]f and [f, including at the first and last file.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
When reviewing a diff with many files, the explorer panel gives no indication of how many total files there are or where you currently are in the list. The only position feedback is the "Last file (N of N)" / "First file (1 of N)" echo message that appears at navigation boundaries — but nothing persistent or visible in the tree itself.
Proposed Solution
Show a file count and/or current position indicator in the explorer. Some options (not mutually exclusive):
- Group headers with counts — e.g.,
Changes (7)orStaged Changes (3)so you can see at a glance how many files are in each group. - Current position indicator — e.g.,
3/12shown somewhere persistent (statusline component, explorer title, or inline) so you always know where you are in the review. - Progress-style indicator — something like a subtle progress bar or fraction that updates as you navigate with
]f/[f.
This is especially useful for large PRs where you want to know how close you are to finishing the review.
Context
The navigate_next / navigate_prev functions in actions.lua already compute the total file count and current index — this data just is not surfaced persistently in the UI.
- Lenguaje dominante
- Lua
- Estrellas
- 1.6k
- Forks
- 104
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de esmuellert/codediff.nvim
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
esmuellert/codediff.nvim#582 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
esmuellert/codediff.nvim#579 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
esmuellert/codediff.nvim#575 ·
-
Bug: explorer.focus_on_select = false ignored for added/untracked/deleted files in inline layoutAbiertoType/Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
esmuellert/codediff.nvim#567 · 1 reacción ·
-
Type/Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
esmuellert/codediff.nvim#565 · 1 comentario ·
Todos los issues de esmuellert/codediff.nvim
Issues similares
-
vim.pack: version cannot match branches when git column.ui is setPosiblemente ocupada @tanloong la tomó hoy. Abiertopackages
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
neovim/neovim#42682 · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
severity: low
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
luainkernel/lunatik#2318 ·
Los mantenedores suelen responder en 1 día
-
documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 2 días
-
Kindle: frontlight comes back on after resume, overriding AutoWarmth "Frontlight off during the day"Posiblemente ocupada @ratherDashing la tomó hace 1 día. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
Los mantenedores suelen responder en 1 día