Open Ascor8522 opened 5 years ago
See also discussion in LLK/scratch-blocks#1379, although this isn't quite the same issue.
/cc @carljbowman @kathymakes @kchadha
Scratch 1.4 was way better than 2.0 or 3.0. This representation helps the learners to acquire the concept of variables.
I can say this is a critical issue according to Scratch's mission. Nevertheless, it has been neglected for two years. Please tell us at least which code we can contribute with.
In Scratch 3.0, not only are local and global variables not distinguished, but they are also sorted alphabetically and mixed together.
@Naohiro2g これはscratch-blocksですね。ソースでいえば data_variable
の右クリックメニューは https://github.com/LLK/scratch-blocks/blob/develop/blocks_vertical/data.js#L510 ドロップダウンは https://github.com/LLK/scratch-blocks/blob/develop/core/field_variable.js#L277 です。
ただし、Scratch Teamは機能追加のPRを勝手に出されると弾くか無視することが大半のため、help wantedがつくまで待ったほうがいいです。(付く保証はありません。)
That's scratch-blocks. Source code would be https://github.com/LLK/scratch-blocks/blob/develop/blocks_vertical/data.js#L510 for context menu of data_variable and https://github.com/LLK/scratch-blocks/blob/develop/core/field_variable.js#L277 for dropdowns. However ST tends to reject or ignore feature PRs without prior discussion, so it's better to wait until it gets "help wanted" (which, tbh, will never happen).
ありがとうございます。なるほど。同様のissueが出ていて、それなりの議論もなされているようですね。改めて問題提起からリスタートしないとダメっぽいです。若い初学者向けの視点で。 https://github.com/LLK/scratch-blocks/pull/1657 https://github.com/LLK/scratch-blocks/issues/1636
Thank you, I see. I found there are similar issues and some discussion on those. It seems like we need to restart with the problem again from a perspective for young beginning students.
Expected Behavior
A visual element should show the difference (separator or icon?) between global and local variables in variable selectors (dropdown menus in variable blocks i.e.).
Actual Behavior
No way to distinguish local and global variables.
Steps to Reproduce
Create a local variable. Create a local variable.
Can you remember which one is local, which one is global? If yes, add another 10 variables. Can you remember now?
Additional notes
Scratch 2 has a separator to distinguish global from local variable. Except the name, how could you make the difference? By the way, this also applies to lists.
Operating System and Browser
Any browser or operating system.