I am trying to install the AngularJS plugin for Intellij IDEA (https://plugins.jetbrains.com/plugin/6971?pr=idea), but am facing the following issues:
when using the plugin browser, IDEA does not find it (only result is Ionic Framework when searching AngularJS)
when downloading and installing manually, I get the following message: "Plugin AngularJS depends on unknown plugin JavaScript". A plugin I cannot, obviously, find.
Is this plugin no longer available for Intellij IDEA?
As mentionned by Lawrence, this is not available for Community edition.
Related
I started to learn angular.js and build the hello world app according to the official angular site.
I'm working with Spring Tool Suite 3.8.4 and installed the AngularJS Eclipse 1.2.0 plugin and the test project was working fine without any validation errors.
After finishing this tutorial I made a git clone from this demo application, did all the installation steps, imported it as a project into Eclipse and configured it as an angular project (nature).
After all validation was done Eclipse showed me about 2500 errors with the message Unexpected token. I opened some files and it seems that the import and export keyword isn't recognized properly.
As the hello world app uses also these keywords and didn't have any validation errors I assume the reason could be a configuration problem. If i compare them in my project explorer i was wondering why in my hello world app was only a folder "TypeScript Resources (2.2.2)" and in this imported project there is also one folder/lib called "Javascript Resources". Might be ok, just something i noticed.
As im totally new to angular I have no clue what I could check. I read that the angular js support for the Eclipse IDE isn't perfect but these articles have been partly outdated as they were using Angular 1.x and 2.x.
Running the application with npm start in a terminal or "Run as" ==> ng serve" works fine without any problem.
Both applications (hello world and the cloned one) use Angular 4.x.
Does anybody have an idea? Do I need to provide more information?
At first just to clarify things, you have installed Angular2 Eclipse which is for Angular2, Angular4 and where you develop with TypeScript. AngularJS Eclipse is for Angular1 where you develop with JavaScript.
You error is a JavaScript Problem which comes from the JSDT plugins. It seems that you have added JSDT nature. I suggest you to remove JSDT nature from your project because you develop with TypeScript and not with JavaScript.
To do that you can edit your .project file and remove this line:
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
If you need to open JavaScript file in an editor with validation, completion, etc, TypeScript IDE provide a JavaScript (Salsa) Editor which does that. You open your JS file with JavaScript (Salsa) Editor:
and after you benefit from the same feature than TypeScript editor:
I have PHPStorm installed with the Angularjs plugin.
Unfortunately, I still don't get any autocomplete. The IDE still doesn't know about angular.module or others.
Do I need to activate the Angularjs support per project or were could the problem lie?
You need to have both JavaScript Support Plugin and Nodejs Plugin enabled and installed.
I am looking for a tool like Angularjs explorer viewer that can generate mvc diagram including all the controller/services and the dependencies between them from existing angularjs code. This one is a plugin in eclipse. And I failed to installed it when I tried to followed the instruction Getting started.
the error said :
Cannot complete the install because one or more required items could
not be found. Software being installed: tern feature
0.3.0.201406242125 (tern-feature.feature.group 0.3.0.201406242125) Missing requirement: Tern - Server - Nodejs 0.3.0.201406242125
(tern.server.nodejs 0.3.0.201406242125) requires 'package
org.apache.http 0.0.0' but it could not be found Missing
requirement: Tern - Server - Nodejs 0.4.0.201407211814
(tern.server.nodejs 0.4.0.201407211814) requires 'package
org.apache.http 0.0.0' but it could not be found Cannot satisfy
dependency:
From: tern feature 0.3.0.201406242125 (tern-feature.feature.group 0.3.0.201406242125)
To: tern.eclipse.ide.core [0.3.0.201406242125] Cannot satisfy dependency:
From: Tern - Eclipse - Core IDE 0.3.0.201406242125 (tern.eclipse.ide.core 0.3.0.201406242125)
To: bundle tern.server.nodejs 0.2.0
Is there any?
Thanks
This question is about installation of AngularJS Eclipse. It seems that your Eclipse has not the plugin org.apache.http.
I suggest you to use Eclipse Luna (4.4) and the distribution Eclipse IDE for Java EE Developers.
AngularJS Eclipse is based on tern.java which is based on tern.js a JS inference engine. So you could use just tern.js with Grunt task for instance to call angular tern plugin which will parse your JS files and returns a JSON with Module, Contrroller, etc. Never done that but I think it's possible.
My company (Java + AngularJS shop) is evaluating both IDEA and WebStorm. Based on some Googling, it looks like IntelliJ IDEA is a superset of the *Storm editors, assuming you install the proper plugins (source1, source2):
Practically, if we purchased IntelliJ IDEA 13.1 Ultimate, what plugins would we need to get these WebStorm features?
Grunt integration
AngularJS integration
Bower integration
Karma integration
JavaScript auto-complete/navigation
Grunt and Bower support, as well as javaScript completion, etc. are available out of the box. AngularJS, Node.js and Karma plugins have to be installed from the repository (Settings/Plugins, Browse Repositories..., type plugin name in the search box to quickly locate it).
Just search the repo, you can do this from within intellij with a nice gui aswell.
javascript code complete is in vanilla (not an external plugin) version btw, as I would imagine most of the others are. Just try the trial version.
I'm trying to install the AngularJS plugin, I go to the plugins page in the Settings and click install from disk, I choose angular-js-plugin.jar from my filesystem and get this error:
Plugin AngularJS depends on unknown plugin JavaScript
The JetBrains repo for JavaScript if here but there is no plugin called 'JavaScript'.
Where do I get the correct pluging from?
The JavaScript plugin is only included in the Ultimate version. If you are using the community edition, it won't work.