Beef icon indicating copy to clipboard operation
Beef copied to clipboard

[IDE] Added button to toggle case sensitivity in quick find and quick replace

Open MineGame159 opened this issue 4 years ago • 2 comments

By default case sensitivity is disabled and persists between actions as long as the IDE didn't restart (it is stored in a static variable). I wasn't sure how to handle the color so I just hardcoded it. If there are any changes I could make I will be happy to learn. image image

MineGame159 avatar Oct 31 '21 12:10 MineGame159

I'm planning on checking out these PRs after the next stable release.

bfiete avatar Nov 03 '21 19:11 bfiete

image

Compare to Visual Studio's Quick Find, which includes features I would find necessary:

  1. Includes the Whole Word toggle. The UI layout should also include space for a future Regular Expression toggle
  2. You can see whether or not the toggle is actually set. In your mockup I can't even tell you whether the blue or the white text means "on" or "off"
  3. "Aa" is the industry standard, not "Ww"

In addition, this violates our own UI standard of not persisting options/toggles in tool windows. Compare to the our 'Find in Files' dialog: there is a "Prev" button if you want to go back to previously-set options, but otherwise you get a standard known set of options. This is important for being able to quickly and reliably use a tool without having to visually scan whether the wrong options have been set from a previous usage.

bfiete avatar Nov 30 '21 17:11 bfiete