angular - 如何触发带有 `create new component` 的新对话框

标签 angular webstorm jetbrains-ide

"What's new"页面提到了以下新功能:

Angular 2 improvements

Use the New… popup to generate components, directives, services, and other blueprints in projects created with Angular CLI. Completion and resolve for methods in the templates are now more precise because WebStorm understands available type info.



这是显示功能的屏幕截图:

enter image description here

最佳答案

Use the New… popup to generate components, ...



嗯... File | New...然后选择 Angular CLI选项在那里。

我建议观看“WebStorm 2016.3 - 新功能”视频:https://www.youtube.com/watch?v=_THi3bEmp7g -- 它很短(只有 4 分半钟)

检查这个区间:特别是3:02-3.16

正如@lena 所说——你还需要 angular-cli.json在您的项目中显示此选项。

关于angular - 如何触发带有 `create new component` 的新对话框,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40612480/

相关文章:

angular - 奇怪的路由问题 Angular 7 + Ionic 4 Beta

angular - 有没有办法在构建 Angular 应用程序时在 Azure CI 构建管道中提供environment.prod.ts 文件?

webstorm - 如何从 json 模式创建 jsdoc 类型

typescript - 在类本身内部为 ES6 类使用类型

java - JetBrains 如何为其 IDE 创建 .exe 文件?

intellij-idea - 如何以编程方式/使用注释将代码部分的语法突出显示设置为特定语言?

angular - Protractor 一直在等待完成的 HTTP 请求

firebase - WebStorm Firebase 集成

java - 单元测试中@TestOnly和@VisibleForTesting有什么区别

javascript - ViewContainerRef 服务以及它引用哪个元素?(Angular 2)