0

I am making a code completion system for a code editor, and i would like to show a tooltip for every parameter containing its reference data. I would like to emulate the code completion from Eclipse, so i was wondering if the API reference is available in code, or if i have to manually import it using the file system or something like that.

4

1 回答 1

1

flash.utils.describeType 您可以使用这将返回一个包含有关方法、属性等信息的 xml来反映当前有问题的类。

这可能很重。如果您一直使用它,请尝试使用缓存系统。Flex 框架有一个类mx.utils.DescribeTypeCache

于 2013-05-28T12:20:49.690 回答