Amine Bouslikhane
Amine Bouslikhane

Reputation: 31

Create module with angular plugin in eclipse

I'm begging at angular and trying to test the angular Get Started Tutorial (https://angular.io/guide/quickstart). I'm using angular cli plugin in eclipse.

At the 7th part of the tutorial I'm suppose to build a new module, what the command ng generate module app-routing --flat --module=app should do.

I was wondering if eclipse can do it for me. I see it can make new components, new services, new pipes. But how can I get a new module with eclipse ?

Thanks for help.

Upvotes: 3

Views: 458

Answers (1)

pbuchheit
pbuchheit

Reputation: 1607

For Angular IDE at least, I don't think there is an option to do this. The good news is that you can do it manually in the eclipse terminal. If you don't already have the view open, go to 'window' -> 'show view' -> 'other' and look for 'Terminal +'. In that view, you can enter the command to create your module:

ng generate module app-routing --flat --module=app

While it is an extra step, you end up with the same results. Hope that helps.

Upvotes: 2

Related Questions