notepad-plus-plus / notepad-plus-plus/notepad-plus-plus

[Feature Request] Count function into Find in Files

Open
#8,906 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
29.4k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

Description of the Issue

Hi donho,
I use your program since many years, and notably to translate Warband mods and Bannerlord in French. To do that the function Find in Files is unvaluable, I use it very often to find in what files a certain text can be found when the text in game in not correct and I want to know where to go to fix it.

But sometimes I would only like to know how much occurences of a certain expression exist in all the files, without seing the very long list of lines being displayed at the bottom of the window. The function Count exists into Notepad++, but only into the Find tag, so only for one file.

I would like to know if it could be possible to place the Count function also into the Find in Files tag. Anyway the job is done because after a “Find All” operation, the number of hits is displayed just above the sometimes thousand of lines displayed where the searched text is present. But sometimes I just don't need to have these thousand of lines displayed, a simple count displayed at the bottom of the Search window ans in the Find tag would be sufficent.

Thanks for all your time dedicated to this program.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing Count function in the Find tab and the Find in Files search flow. Compare how each reports matches, then determine how a count-only option should appear in the Search window. Done means Find in Files can report the occurrence count without displaying the full list of matching lines.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.