what does find users of variable mean?
When I right-click on a variable and select 'find users of this block', then I will get all the variable accessors. Is this a bug?
For variables, should 'find users of this block' be hidden?
Comments (9)
-
reporter -
reporter - edited description
- changed title to what does find users of variable mean?
-
Hi Wenjie
this is a brand new feature Bernat provided. It is used to help debug programs by finding where in the code a variable is used.
-
reporter Hi @Turgut Guneysu Thank you for your reply.
I love this powerful new feature, one of the menus seems to have problems working with variables.
-
Hi, Wenjie.
You’re right that this is sort of a misfeature. The
variable
block is the same operator regardless of which variable it holds, that’s why finding its users finds all variable reporters in the project. I think we may want to hide this option for variable reporters, unless there is a use case for finding all variable reporters in a project, which I can’t think of right now… -
reporter I also think there seems to be no clear use case.
For find variables, thefind variable accessors
andfind variable modifiers
are perfectly adequate. -
repo owner We might have
find users
on a variable block just dofind variable accessors
. Or hide that option, as Bernat suggests. -
reporter Or hide that option, as Bernat suggests.
I prefer this approach.
-
- changed status to resolved
Fixed in 6386839 :)
- Log in to comment
@Bernat Romagosa