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

Show number of occurrences of highlighted token in status bar

Open
#11,312 4 comments 0 reactions 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

When a token is highlighted it would be helpful to show number of its occurrences in the status bar. I'm aware that the number of token occurrences can be found out via Find window (Ctrl+F > Count) but this feature could be useful especially on smaller files where you want to count quickly how many times is token present in a file.

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 tracing how highlighted-token information reaches the status bar, then compare it with the existing Find window’s Ctrl+F > Count behavior. Done means the status bar shows the number of occurrences for the highlighted token, including on smaller files, without requiring the Find window.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 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.