开发者

Flash Builder ASDoc @see tag with redirect

开发者 https://www.devze.com 2023-03-19 11:39 出处:网络
Is it possible to set up the asdoc @see tag in Flash Builder 4 so when I click on the generated link in the tooltip it would take me to the corresponding line of code (function, variable, class etc.)?

Is it possible to set up the asdoc @see tag in Flash Builder 4 so when I click on the generated link in the tooltip it would take me to the corresponding line of code (function, variable, class etc.)?

I know that this happens in the generated asdoc html files, but I would like it to happen inside Flash Builder, when I hover with the mouse over a function name, for example. When the asdoc tooltip appears (containing text I've previously written and a @see tag), I would like to click on the link generated by @see and it w开发者_开发问答ould take me there.

If this doesn't work for @see, is there another tag or something else that does that?


Are you searching for something like this? Somehow you access class attributes and methods as if they were static elements. Could be improved, i guess. *Nicholas

package de.goldsource.test
{
    import flash.display.Sprite;

    /**
     * ASDocTest
     * @see flash.display.Sprite
     * @see ASDocTest.ASDocTest()
     * */
    public class ASDocTest extends Sprite
    {
        /**
         * ASDocTest Constructor
         * @see ASDocTest.myVar
         * @see ASDocTest.myFunction()
         * @see ASDocTest.myStaticFunction()
         * */
        public function ASDocTest(){

        }

        /**
         * myVar
         * */
        public var myVar;           

        /**
         * myFunction        
         * */
        public function myFunction():void
        {
        }

        /**
         * myStaticFunction      
         * */
        public static function myStaticFunction():void
        {
        }
    }
}
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号