Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/templates/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Visual Studio和Javascript中的XML注释使;“公众”;方法在intellisense中消失_Javascript_Visual Studio_Xml Comments - Fatal编程技术网

Visual Studio和Javascript中的XML注释使;“公众”;方法在intellisense中消失

Visual Studio和Javascript中的XML注释使;“公众”;方法在intellisense中消失,javascript,visual-studio,xml-comments,Javascript,Visual Studio,Xml Comments,我很高兴地发现我可以在javascript中使用XML注释(即: 当我实例化var thePlayer=newplayer('bob');,上面的内容就会出现。。。飞机 我认为如果你从报税表中删除(type=“Nothing”),它应该显示玩家的成员。我认为如果你从报税表中删除(type=“Nothing”),它应该显示玩家的成员。你是否尝试过用*或只用两个破折号而不是三个破折号进行评论/我在这里添加了星号,因此总结,param和returns标记将显示。这是微软在评论中使用的三种方法。还有,3

我很高兴地发现我可以在javascript中使用XML注释(即:


当我实例化var thePlayer=newplayer('bob');,上面的内容就会出现。。。飞机 我认为如果你从报税表中删除(type=“Nothing”),它应该显示玩家的成员。

我认为如果你从报税表中删除(type=“Nothing”),它应该显示玩家的成员。

你是否尝试过用*或只用两个破折号而不是三个破折号进行评论/我在这里添加了星号,因此总结,param和returns标记将显示。这是微软在评论中使用的三种方法。还有,3个斜杠,这样VS会看到我正在尝试XML注释。我假设您只添加了星号,因为您没有缩进注释(从而获得语法突出显示)——我的编辑应该会解决这个问题您是否尝试使用*注释,或者仅使用两个破折号而不是三个破折号/I在此处添加了星号,因此总结,param和returns标记将显示。这是微软在评论中使用的三种方法。还有,3个斜杠,让VS看到我正在尝试XML注释。我假设您只添加了星号,因为您没有缩进注释(因此得到语法突出显示)——我的编辑应该可以解决这个问题,就是这样!非常感谢!现在又酷了!我猜你可以通过使用XML注释来实现收支平衡。谢谢就这样!非常感谢!现在又酷了!我猜你可以通过使用XML注释来实现收支平衡。谢谢
/// <summary>Determines the area of a circle based on a radius parameter.</summary>
/// <param name="Name" type="String">Give this dude a NAME!</param>
/// <returns type="Nothing">The area.</returns>
 this.greet = function (greeting) {
        alert(greeting + " " + this);
    }