can add new angular 2 components from "new" menu Permanently deleted user Created December 08, 2016 13:03 I have angular-cli installed globally, yet I when I use new-> I don't get the angular components option in the menu. how can I fix this ?
(it works only in project that is create as angular-cli, but I imported a project from a folder.... how can I add it to this project ?)
Please make sure that angular-cli.json file is there (must be located in project root dir)
it's there....
strange.. adding this file to the root of any project (even not related to Angular) makes this action available to me:
This seems to only work if the file is in the top/root structure. If I have multiple projects and one of them is angular, this stops working. I have to open that sub-project by itself and then the angular-cli options show up. To me this is a bug.
It's a known limitation, please follow https://youtrack.jetbrains.com/issue/WEB-24662 for updates