vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Improve the Find/Replace dialog, much larger

Open fabbricate opened this issue 7 months ago • 1 comments

Improve the Find/Replace dialog

I'm aware of Settings > * > Features > Search, but the other options there separate the search from the view of the document, and doesn't apply to single-file searcher

  • Make it much larger, a floating dialog
  • Use a larger code-friendly font, at least something like System
  • Perhaps allow multi-line input (though \n works)
  • Perhaps use a syntax-coloring input for regex

Notepad++ has a decent example of a find and replace dialog. It's significantly more comfortable to use for old eyes.

Image

It appears there's a timer to begin the search after the last input? Would you consider raising it a little, the slightest delay between keystrokes causes the search to trigger.

If using regex mode, make sure the regex doesn't match "", because that matches every single character boundary in ever file.

For instance, if I'm typing ^\s*\w+ and I pause between * and \w, i'll get a lot of useless matches, possibly freezing the program. ^ alone matches every character boundary in the project (for files specified)

fabbricate avatar May 09 '25 14:05 fabbricate