Skip to content

[Feature request] "Find in Files progress" dialog show number of hits and num of files searched #13364

@Explorer09

Description

@Explorer09

Description of the Issue

The current "Find in Files progress" dialog only shows the filename, a progress bar, and a Cancel button. When the user just needs to get the first few matches of the keyword in a large directory tree, the user has to wait for the whole operation to finish even though it's technically possible to stop the Find progress in the middle and let the user continue their work quickly.

This is a UI suggestion:

  1. Rename the "Cancel" button in the "Find in Files progress" dialog to "Stop", since the latter describes the action more accurately.
  2. During the progress, show the number of hits, number of files containing the hits, and number of files searched so far, roughly in this format: %u hits in %u files of %u searched (this is the same format as used in the "Search results" panel)

notepadpp-find-in-files-progress-suggestion

Related to #11459, except that my suggestion has a more practical use case.

Steps to Reproduce the Issue

  1. "Search" -> "Find in Files"
  2. Choose a large directory, e.g. "C:", for the "Directory" field, and a keyword ("Find what") that probably appears only once or twice.
  3. Click "Find All"
  4. Wait.

Debug Information

Notepad++ v8.5   (64-bit)
Build time : Mar  6 2023 - 02:18:13
Path : C:\Program Files\Notepad++\notepad++.exe
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 10 Pro (64-bit)
OS Version : 1909
OS Build : 18363.418
Current ANSI codepage : 950
Plugins : 
    mimeTools (2.9)
    NppConverter (4.5)
    NppExport (0.4)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions