-
-
Notifications
You must be signed in to change notification settings - Fork 555
Description
Describe the problem
The IDE's Edit menu contains a Use Selection for Find item.
🐛 The first time this is used after opening an IDE window, the "Find" field is not filled with the selected text.
To reproduce
- Select File > New from the Arduino IDE menus.
- Select some text.
- Select Edit > Use Selection for Find from the Arduino IDE menus.
🐛 The text is not pre-filled in the "Find" field. - In the "Find" UI, click the X icon.
- Select some other text.
- Select Edit > Use Selection for Find from the Arduino IDE menus.
🙂 The text is pre-filled in the "Find" field.
Expected behavior
"Find" field is always filled with the selected text after selecting Edit > Use Selection for Find.
Arduino IDE version
Original report
2.0.0-rc6-snapshot-b407d0a
Last verified with
Operating system
Windows, Ubuntu
Operating system version
- Windows 10
- Ubuntu 20.04
Additional context
I recommend evaluating whether "Use Selection for Find" has any value. If not, it would be better to just remove it rather than spending time on getting it working correctly. Its functionality appears to be identical to Edit > Find Next, except that Find Next works correctly.
I don't see such a thing in the related applications (e.g., Arduino IDE 1.x, Theia Blueprint, VS Code). The small number of search results I get indicate maybe it is used in some macOS applications?
Issue checklist
- I searched for previous reports in the issue tracker
- I verified the problem still occurs when using the latest nightly build
- My report contains all necessary details