是否有一种方法可以为MXML文档添加类ASDoc,类似于AS3类的ASDoc?
MyClass.as ASDoc:
/**
* This shows up when hovering over the class in Flash Builder.
* The Group class is the base container class for visual elements.
* <p>The <code><s:Group></code> tag inherits all of the tag
* attributes of its superclass and adds the following tag attributes:</p>
*
*
* @see spark.components.DataGroup
* @see spark.components.SkinnableContainer
*
*/
public class MyClass extends Group {
}MyClass.mxml ASDoc:
<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark">
<!---
ASDoc???
Does this show up when hovering over the class in Flash Builder?
A label, text input and button that is used to select a file or a folder
-->
</s:Group>发布于 2015-01-15 09:29:38
是的,这是可能的,而且你已经接近解决方案了:
<!--- This shows up when hovering over the class in Flash Builder! -->
<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark">
</s:Group>另见:记录MXML文件
https://stackoverflow.com/questions/27959491
复制相似问题