[SUGGESTION] IDE or Browser Extension: Find-Replace

If you want to rename/correct a misspelling of a Block or replace some text, a Find-Replace function would be very helpful.

For example, here 'Table' needs to be replaced with 'Row' and the last '2' replaced with nothing (to simply remove '2').

Snap2

There is also a use for 'Find'. For example, you might want to find, step-by-step, where a variable has been used (in order, say, to establish where it has been used in the wrong place).

FindReplace

Note, most Browsers have a 'Find' function that does work with AI2 Blocks, but you have to type-in replacements. Also, finding a block name (browser highlights all instead of step-by-step) can make the component palette fail.

4 Likes