<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[UIFLOW] Add a comment block.]]></title><description><![CDATA[<p dir="auto">Sorry if I missed something but I beleive comments are missing from UIFlow.</p>
<p dir="auto">While looking at visual code it is possible to determine what functions are being called but not the intent of the programmer.<br />
Also when used as a teaching tool encouraging comments encourages documentation.<br />
The alternative is to use th "Execute code:" block or document externally.</p>
<p dir="auto"><img src="/assets/uploads/files/1709752126574-9229e8fe-5fd4-42e7-ae4a-d142f7868018-image-resized.png" alt="0_1709752126077_9229e8fe-5fd4-42e7-ae4a-d142f7868018-image.png" class=" img-fluid img-markdown" /> [UIFLOW] Add acomment block.</p>
]]></description><link>https://community.m5stack.com/topic/6181/uiflow-add-a-comment-block</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 01:00:25 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/6181.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 06 Mar 2024 19:16:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [UIFLOW] Add a comment block. on Thu, 07 Mar 2024 17:41:18 GMT]]></title><description><![CDATA[<p dir="auto">The official way to add comments only adds them to UIFlow (they are not exported into the python code)<br />
You can right-click any block and select "Add comment", which enables a question mark icon on the block.  Clicking that icon lets you add a comment in a bubble.<br />
(I use those comments to describe why I did something specifically in UIflow/blockly.)</p>
<p dir="auto">The unofficial way is the code block you show.  Those comments DO get exported into the python code.<br />
(I use those comments for things like describing variables usage and (re)configuration, stuff people would still need to know when using the micropython code directly.)</p>
<p dir="auto">It would however be wonderful to have one official "Comment block" block that could be set to work either way, and set to start expanded or collapsed, etc.<br />
I think it would be wise to retain "Insert into python code" or not as an option, as each type has advantages in different circumstances.</p>
]]></description><link>https://community.m5stack.com/post/24289</link><guid isPermaLink="true">https://community.m5stack.com/post/24289</guid><dc:creator><![CDATA[dissy]]></dc:creator><pubDate>Thu, 07 Mar 2024 17:41:18 GMT</pubDate></item><item><title><![CDATA[Reply to [UIFLOW] Add a comment block. on Thu, 07 Mar 2024 05:44:57 GMT]]></title><description><![CDATA[<p dir="auto">I have mentioned it several times but people don't like to search so well done for discovering it for yourself and sharing.</p>
]]></description><link>https://community.m5stack.com/post/24280</link><guid isPermaLink="true">https://community.m5stack.com/post/24280</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Thu, 07 Mar 2024 05:44:57 GMT</pubDate></item></channel></rss>