如何触发带有“创建新组件”的新对话框
How's the new dialog with `create new component` can be triggered
此 "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.
这是显示功能的屏幕截图:
Use the New… popup to generate components, ...
嗯...File | New...
然后选择 Angular CLI
选项。
我建议观看 "WebStorm 2016.3 - New features" 视频:https://www.youtube.com/watch?v=_THi3bEmp7g -- 很短(只有 4 分半钟)
检查这个间隔:特别是3:02-3.16
如@lena 所述——您的项目中还需要 angular-cli.json
才能显示此选项。
此 "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.
这是显示功能的屏幕截图:
Use the New… popup to generate components, ...
嗯...File | New...
然后选择 Angular CLI
选项。
我建议观看 "WebStorm 2016.3 - New features" 视频:https://www.youtube.com/watch?v=_THi3bEmp7g -- 很短(只有 4 分半钟)
检查这个间隔:特别是3:02-3.16
如@lena 所述——您的项目中还需要 angular-cli.json
才能显示此选项。