You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to determine that a project has Angular2 nature?
search in the package.json if angular2 exists as dependencies?
search from typing folder if angular2 exists?
search from node_modules if angular2 exists?
But those folder, package.json could be hosted not only in project root (like src folder). So we could foolw the same idea than angelozerr/typescript.java#12 (comment)
And at the end if the user project doesn't follow thoses rules, user will be able to to "Convert as Angular2" to add Eclipse Angular2 nature to the project.
Agreed with @micaelgallego: package.json seems like a very good place to look for the stuff and have a failsafe with nature if not found (Convert as Angular2 and add nature).
How to determine that a project has Angular2 nature?
But those folder, package.json could be hosted not only in project root (like src folder). So we could foolw the same idea than angelozerr/typescript.java#12 (comment)
And at the end if the user project doesn't follow thoses rules, user will be able to to "Convert as Angular2" to add Eclipse Angular2 nature to the project.
What do you think about that @micaelgallego @piotrtomiak
The text was updated successfully, but these errors were encountered: