Open powercode opened 2 years ago
The commands descriptions come from the extension gallery manifest.
For example, we have this in the manifest file amd64\OptionalExtensions\DbgModelApiXtn_GalleryManifest.xml:
<ScriptComponent Name="CodeFlow" Type="Engine" File=".\CodeFlow.js">
<FunctionAliases>
<FunctionAlias Name="dflow">
<AliasItem>
<Syntax>
<![CDATA[!dflow [<address>]]]>
</Syntax>
<Description>
<![CDATA[Shows the instructions of the function containing [<address>] which influence the source operands of that instruction.]]>
</Description>
</AliasItem>
</FunctionAlias>
<FunctionAlias Name="dis">
<AliasItem>
<Syntax>
<![CDATA[!dis [<address>]]]>
</Syntax>
<Description>
<![CDATA[Disassembles instructions starting at [<address>] using the data model disassembler.]]>
</Description>
</AliasItem>
</FunctionAlias>
With
I get
When registering my own function, it only shows the name of the function. How can I add help texts?
Regards