Pervious versions of the IDE included a Search all Sketch Tabs option in the Find pop-up window. Is this an omission or can this be turned on somehow?
Hi @DennisZ. Good news! This functionality was added just yesterday:
It works a little bit different than the classic Arduino IDE's "Find" function, but it does indeed allow you to find in all tabs. To access the search, you now click the magnifying glass in the sidebar on the left side of the IDE window. You can see a screenshot here showing it being used for a replace:
You might spot that the "replace preview" is not quite right in that screenshot. That's because I took it during the testing of the function when it had a small bug, but that has been fixed before the feature was merged.
Anyone who uses VS Code will be familiar with this. There are some new advanced capabilities compared to the classic IDE. I use the regular expression capability quite a lot in VS Code. Not quite so essential for a smaller sketch, but it can sure be a time saver for a big project!
You can try it out by downloading the nightly build of Arduino IDE 2.x here:
How does one invoke the replace feature shown above?
Click the rightward pointing triangle here:
Thank you. Does one have to in some special mode? I got that menu but the replace option is greyed out. Using 2.0.0-beta.6.
However, I've found that highlighting text and hitting F brings up this menu in the upper right and the replace option is active and functional.
An additional curiousity: Though I've responded in this thread I'm not getting notifications.
The problem is that you have the "Match Whole Word" filter enabled. It is controlled by that icon that says Ab|.
Ah. Thanks!
It does not help that the color highlighting is almost impossible to see with this theme selected.
Yeah. I almost didn't catch that. I don't have much experience with the dark theme because I usually leave my IDE as stock as possible. That said, the contrast on the light themes is even lower than on the dark. There is significantly more contrast on the default light VS Code theme.
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.