Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angular/33.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
Angular 角度2+;HTML中的组件文档预览_Angular_Webstorm_Documentation - Fatal编程技术网

Angular 角度2+;HTML中的组件文档预览

Angular 角度2+;HTML中的组件文档预览,angular,webstorm,documentation,Angular,Webstorm,Documentation,我想知道是否有可能为角度组件编写文档,在HTML中添加新组件时,这些组件将显示为工具提示。我正在使用Webstorm 我的意思是: 如果我有组件A /** * This is the documentation intended to be shown in the tooltip. */ @Component({ selector: 'app-a', templateUrl: './a.html', styleUrls: ['./a.scss'] }) export clas

我想知道是否有可能为角度组件编写文档,在HTML中添加新组件时,这些组件将显示为工具提示。我正在使用Webstorm

我的意思是:

如果我有组件A


/**
 * This is the documentation intended to be shown in the tooltip.
 */
@Component({
  selector: 'app-a',
  templateUrl: './a.html',
  styleUrls: ['./a.scss']
})
export class AComponent {
  constructor() { }
}
在组件B的HTML中

(预期结果)

IDE中没有这样的功能;我们计划将其添加到最近的一个IDE更新中,进度可在

处跟踪,IDE中没有此类功能;我们计划将其添加到最近的一个IDE更新中,进度可在

处跟踪您是否向JetBrains提出了功能请求@RandyCasburn那么你是说现在不可能实现这一点,我必须要求JetBrains团队提供一个实现?这在目前是不可能的,而且没有提供此功能的插件。你还应该意识到,你上面展示的DOC BLOC记录了以下类
a组件
-不是外部HTML文件自定义角度元素。JSDOC或TypeDoc中没有机制(或类型)记录外部实体,更不用说HTML了。您是否向JetBrains发出了功能请求@RandyCasburn那么你是说现在不可能实现这一点,我必须要求JetBrains团队提供一个实现?这在目前是不可能的,而且没有提供此功能的插件。你还应该意识到,你上面展示的DOC BLOC记录了以下类
a组件
-不是外部HTML文件自定义角度元素。JSDOC或TypeDoc中没有记录外部实体的机制(或类型),更不用说HTML了。