I like how the script editor generates the source code too. I finally got to push my own multi-line descriptions to the serialized script string. However, it wasn’t easy.
If we could enter text with line breaks directly inside quotes, it would be much easier. @eirannejad
RH-79236 Script component to extract description from docstrings
I’d appreicate if any of you can give me a short list of expectations/wishes for the docstrings. Let’s add on to this list:
Consistent docstring convention for all languages
Docstring to show parameter name, pretty-name, description, type (hint)
Component updates docstring when parameters change
Component updates its own parameters from docstring. Pasting a script into a component should automatically update the component parameters (This currently works with SDK style scripts from RunScript signature)
I myself don’t have any other expectations beyond what you’ve mentioned regarding the docstrings.
As for the menu items, I’m curious-are you planning to remove them? In my opinion, they have been quite handy. It would be nice to tweak them, by allowing multiline text as a tooltip.
I just wanted to mention It’d be really handy if we could change a component’s nickname right away, like what we currently have for parameters. Right now, we can only change the nickname and description through the menu.