microsoft / pxt

Microsoft MakeCode (PXT - Programming eXperience Toolkit)
https://makecode.com
MIT License
2.07k stars 578 forks source link

Blocks with comments in code #10023

Open THEb0nny opened 3 months ago

THEb0nny commented 3 months ago

Hello, is it possible to make such blocks with comments in the code? https://community.openhab.org/t/documentation-comment-blocks/137053

image

I think this additional option was better at separating the code into commented parts than popups that constantly turn off their display and move around and change size.

Jaqster commented 1 month ago

+1 from another Educator - Is it possible in MakeCode Arcade to have an option for comments so that it writes out like a normal comment line? When we used VEX VR last year, we were able to do this: CommentBlock

riknoll commented 2 weeks ago

totally possible to do, but might need some user testing. i was once told by one of the scratch folks that they did something like this but ended up rolling it back because novice coders thought they could write code in that block (or just write what they thought the program should do at that point).

of course, that issue might also be fixable with a nice design. maybe a block that bears some resemblance to our existing comments?