Discuss Scratch

the2000
Scratcher
1000+ posts

Find and Replace System

I still think that this may be a little too destructive to be readily available. It better at least be undo-able, in my opinion. That being said, I realize that such a feature would mean I would never have to do the awkward "green flag to when I receive [start v] because I didn't plan ahead for this" conversion.

Edit: Ayy, king of the page!

Last edited by the2000 (Feb. 15, 2021 16:39:14)

YetiFinderCreates
Scratcher
6 posts

Find and Replace System

I already bumped this (I know because I'm following this discussion) but PLEASE SCRATCH PLEASE IT'D MAKE THINGS SO MUCH EASIER
awsome_guy_360
Scratcher
1000+ posts

Find and Replace System

the2000 wrote:

I still think that this may be a little too destructive to be readily available. It better at least be undo-able, in my opinion. That being said, I realize that such a feature would mean I would never have to do the awkward "green flag to when I receive [start v] because I didn't plan ahead for this" conversion.

Edit: Ayy, king of the page!

Very noice >:3

I'm sure there'll be an undo button if this system were to be implemented. At the very least, it should work with with the one that's already included in the editor.

However, even if there isn't an undo option, you could just manually undo what you just did by putting the old blocks into the replace system. Essentially you'd just be inverting the process. All that's required is that you know which block you just replaced, or you just have to be sure that you have a spare instance of that block lying around somewhere in the editor.

However, I'm not saying that you don't have a point. If you were to replace a big block, say a boolean block of some sort that has a somewhat complicated equation, and you realized that you didn't mean to replace that type of block in particular (or perhaps there's another instance that you've forgotten about), then, assuming you no longer have the knowledge to re-create said block, you don't have any other instances anywhere else, and if there weren't any undo functions, then I'd assume you'd be in some trouble. Although, the problem could simply be reversed if there were an undo button.

This plus the idea proposed is a two-click process with some extra steps. Thankfully, it would not be an impulsive action. Ideally, since the process takes a little more than a couple of seconds, it would give the user quite some time, therefore making the process too long to be impulsive.

If none of this works, then a pop-up warning could be implemented, just to be safe.

(In summary, Ctrl + Z. If that doesn't work, a confirmation pop-up would be nice).

EDIT: May/3/'23; Attempted to clarify wording a little bit. If this post still sounds a little confusing, feel free to reply to this edit, and say “hey, this is still pretty confusing” :P

Last edited by awsome_guy_360 (May 3, 2023 18:02:04)

awsome_guy_360
Scratcher
1000+ posts

Find and Replace System

Bump
lHatr
Scratcher
57 posts

Find and Replace System

I am coming from a duplicate, so bump.
cavemanster
Scratcher
100+ posts

Find and Replace System

Support! Also add a “find block” so you can scroll through every use of said block
ninjaMAR
Scratcher
1000+ posts

Find and Replace System

Support! This would be helpful to people who change blocks often
kuretaka
Scratcher
100+ posts

Find and Replace System

support!!
This is very useful when creating large projects
PkmnQ
Scratcher
1000+ posts

Find and Replace System

the2000 wrote:

I still think that this may be a little too destructive to be readily available. It better at least be undo-able, in my opinion. That being said, I realize that such a feature would mean I would never have to do the awkward "green flag to when I receive [start v] because I didn't plan ahead for this" conversion.
With the way the current undo system works (there are literally two different ways to undo in two different places) I think they'll have to make a separate undo button for just the find and replace
awsome_guy_360
Scratcher
1000+ posts

Find and Replace System

Bumping this up
dave-alt-4
Scratcher
1000+ posts

Find and Replace System

awsome_guy_360 wrote:

Bumping this up
awsome_guy_360
Scratcher
1000+ posts

Find and Replace System

Bumping this up
Eagle138
Scratcher
500+ posts

Find and Replace System

SUpport…it can be soooo tedious to replace blocks, especially when you make one little change that breaks half your code xD
(ok that one might just be me but still)
Jackson49_test
Scratcher
100+ posts

Find and Replace System

Bump
awsome_guy_360
Scratcher
1000+ posts

Find and Replace System

Bumping this up since I needed this today-
zomboss1_1
Scratcher
500+ posts

Find and Replace System

Would this be usable with changing a variable to another variable?
awsome_guy_360
Scratcher
1000+ posts

Find and Replace System

Yep! At least that's how I personally envision it.
zomboss1_1
Scratcher
500+ posts

Find and Replace System

awsome_guy_360 wrote:

Yep! At least that's how I personally envision it.
Oh, alright. That would be very useful, because I screw up my variables quite a bit. Hmmm… I feel a little work could be done on how it does it (I don't think replacing ALL of a block would be very efficient, as you might have some that you need.). Might I suggest something: You click on the blocks you want to replace (click again to unselect), and a bar on the side will show which you selected. You would be able to drag a block onto those (or a string of blocks) and it will replace it with what you dragged onto it. Just a suggestion.
Primary51
Scratcher
3 posts

Find and Replace System

bump
DoubleAccs
Scratcher
1 post

Find and Replace System

Support.
This would be SUUPER useful for doing computer v.s. you or computer v.s. computer, as you would need variables for the interactions like up? or attack?
so…
yeah.

Powered by DjangoBB