我想将ngdoc文档添加到angular服务中的函数声明中。在下面的示例中,我如何对myFunction执行此操作?/** * @name myApp.service:myService * My application.angularmodule('myApp') 'use strict';
var x
现在我收到一条错误消息:Don't know how to format @ngdoc: method。我从其他类似的问题中了解到,当@methodOf属性丢失时,这种情况会发生(或可能发生)。因此,我想使用IDE (PhPStorm)搜索函数和正则表达式找到所有未正确格式化的ngdoc注释。这是我想出的当前表达式:从这些评论中,我想找到第二个,只是: *