Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blocks with comments in code #10023

Open
THEb0nny opened this issue May 30, 2024 · 3 comments
Open

Blocks with comments in code #10023

THEb0nny opened this issue May 30, 2024 · 3 comments

Comments

@THEb0nny
Copy link
Contributor

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
Copy link
Member

Jaqster commented Jul 30, 2024

+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
Copy link
Member

riknoll commented Aug 28, 2024

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?

@THEb0nny
Copy link
Contributor Author

@riknoll A very strange story in the place where the hint is indicated that this is a comment to the code to write code and wait for it to execute...

I really need such a block, because it can be used to separate blocks with code by signing, which is what the code below does

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants