Menu

#228 Sound prompt when IDE recirculates

open
nobody
IDE (3)
5
2026-05-02
2026-04-30
Mysteron347
No

Description:
I'd like to be able to specify an optional sound file to be played when the IDE recirculates on a find next/previous (ie. restarts at the top/bottom).

This would create an audio cue to inform the user that end-of-file was reached. The current silence gives the impression that there are nor occurrences,

Discussion

  • Thomas Mueller

    Thomas Mueller - 2026-05-01

    Interesting idea, but I don't know how that could be implemented without re-implementing the whole search functionality. And then I would not restart the search without prompting anyway, because I find that totally annoying.

     
  • Mysteron347

    Mysteron347 - 2026-05-01

    How about

    Intercept Search key
    record current cursor x,y
    execute search
    if new.y < old.y or (new.y=old.y and new.x < old.x) then sound

    Similarly but change inequalities for find-previous key

     
    • Thomas Mueller

      Thomas Mueller - 2026-05-02

      Feel free to submit a patch.

       

Log in to post a comment.

MongoDB Logo MongoDB