In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces you how to achieve makecode block folding function, the content is very detailed, interested friends can refer to, hope to be helpful to you.
In a recent makecode update, a very useful feature has been added: block folding.
We all know that graphic programming is very intuitive and convenient, but there is a big disadvantage is that the graphics block occupies a large space, a small piece of code to complete the function, it needs a lot of screen space to show. Such a slightly more complex program, you need to constantly drag to the screen to view the entire program, the maintainability of the program is much more difficult than the code, especially for small-screen devices such as the phone tablet.
Block folding function, you can fold a larger graphics block, so that the structure of the whole program will look clearer. For example, here is an example of a tomato clock that does not have a pre-folding program:
After folding the program, you can see that the structure of the folded program becomes simple and clear.
Block folding can only be experienced in microbit makecode beta (not supported in other versions of makecode). After opening a program, right-click on the program box and you can see the folding / expanding block menu.
The current folding function is not perfect, only supports folding on the top square, does not support folding to some squares, and does not support one-click folding / unfolding, but this feature is a great improvement.
About makecode how to achieve block folding function to share here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.