Angular Js in Eclipse - java

I want to use angular.js in my project. I currently use JSF as a framework in my project.
I use Eclipse as IDE.
While trying to use angular.js in my project, I found an error of Invalidformalparameter
in angular.js. I also found many syntactical errors in jquery.js, jquery.min.js and angular.js.
Please help me.
Attachments:
Screenshot of IDE showing errors

Don't take care of raported possible errors in public well-tested scripts. Just link it with script in your HTML.
Eventually turn of eclipse notification for this specific file.

angularjs-eclipse by Angello https://github.com/angelozerr/angularjs-eclipse addreses many issues or working with AngularJS in Eclipse.
I am co-author of Nodeclipse and Enide Studio, and we are working with Angelo (author of angularjs-eclipse) on including that plugin into Enide Studio. Also guys from JBoss expressed desire to include this plugin into JBoss Developer Studio, ref #28

Related

Spring Assistant plugin not found in IntelliJ IDE

I want to create a Spring Boot project from scratch in IntelliJ IDE. As there is also a way to use Spring Initializr to create a Spring Boot project and then download the zip and import to IDE.
As it is bit time consuming process to do that every-time, so I checked over the internet to see if there exists a plugin for the same which automatically loads Spring Initializr onto IntelliJ and found there is one named with Spring Assistant.
But this plugin is not visible in IntelliJ Plugins Marketplace. So I went over to JetBrains site for this plugin and landed on this page. This url is the download link for this plugin and is available for all versions. I am using the Community version.
https://plugins.jetbrains.com/plugin/10229-spring-assistant/versions
After downloading and importing the plugin, Spring Assistant option was visible under the File -> New Project section. But after specifying the project details, the dependency screen was not loading up (shown in last image) and I also get errors at the bottom of my IDE which says the plugin doesn't belongs to JetBrains. After this I also seem to feel IntelliJ IDE getting hanged. I have attached images for better understanding.
As anyone else faced a similar problem, because if this doesn't work then the only option is to go to Initializr every time.
Unfortunately, the plugin that served part of the idea/spring community, stopped maintaining. I took the liberty of creating a fork, we fixed bugs and added new features.
the same can be found directly in the search for Intellij or in the marketplace.
Spring Initializr and Assistant
You can use
https://github.com/eltonsandre/intellij-spring-assistant
Its a fork of the original plugin, according to the comments here, seems to work with 2020.3.1, 2021.1(those are the tested versions, check in the comment section).
Here the changelog of the forked plugin

Migrate an existing java (libGDX) project and git repository from eclipse to IntelliJ IDEA

I'm a Java and Web developer.
After using eclipse for 5 years, I decided to at least try to migrate my currently active projects to the JetBrains IDE.
Mainly because of the new features for Android Studio that have been announced at Google IO 15 and I feel that it might be better for me to familiarize myself with it in general. Just in case the support for ADT in eclipse is dropped by Google at some point.
I also noticed that the Laravel (PHP framework) integration is pretty good for IntelliJ, which would come in handy for some of my planned Web projects.
The Java project I'd like to migrate is more specific a libGDX game which has a git repo.
So my question(s) are:
Is it possible to convert the project from an eclipse project to an IntelliJ project, without loosing the git repository?
Does anyone have got experience with this?
Does anyone know if there will be issues with files generated by the libGDX setup tool?
Thanks in advance
Edit: I know that there is an import option for eclipse projects to convert them to the IDEA structure, but I'm not sure if that will also handle git.
First of all, you could just try it, IntelliJ won't delete you anything. You could even use both IDEs on the same sources.
If you create a project or module from a directory which is versioned (e.g. contains .git), then IntelliJ will automatically pick it up, so you can use it.

Google app engine: maven or eclipse google plugin

I'm new to Google App Engine. To use Java App Engine, there are two options provided by Google: create a Maven project, or non-maven project backed by Eclipse Google Plugin. According to the doc, Eclipse version is easier. So should I go ahead with Eclipse? But I have seen lots of posts about maven. Could anyone comment what the pro/cons of using Maven are.
Thanks
Although you might want to try our first with the Eclipse plugin, Maven is the way to go in the long run because :
It is designed to enable collaboration between developers, ensuring everyone uses the same libraries and the same build process
It works with any serious Java IDEA, not only Eclipse. If you or the people you work with use IntelliJ, Netbeans or anything else Maven will help harmonize everything
It allows you to do Continuous Integration . Especially since now this comes bundled with App Engine via push-to-deploy. Push-to-deploy is great because it allows you to do debugging in production from the admin console. But you need to use Maven for it to work.
In conclusion, use the Eclipse plugin for your first quick-and-dirty tutorial or test project. But then learn Maven to make a real project.

Eclipse - playframework, angularjs and coffeescript

I have started a new project, where as a backend is playframework 2 and as a frontend is angularjs with coffeescript.
For everyday I am using Eclipse and I was looking for plugins which are help writing code in these frameworks.
I found http://marketplace.eclipse.org/content/angularjs-eclipse#.U9VZpXWSxCU, but It does not work with coffeescript (or maybe I do not know how to configure it).
When I open .coffee file in angular editor I can see only plain text without any highlights and content assist.
How to configure eclipse to work with these frameworks? Or maybe is another IDE for angularjs, coffeescript in playframework structure?
Thanks for replies and sorry for my english.
For me, I use Sublime Text 2, which you can download from here..
You can then add some plugin to support those framework..
Coffescript: https://github.com/Xavura/CoffeeScript-Sublime-Plugin
AngularJS: https://github.com/angular-ui/AngularJS-sublime-package
Play: https://github.com/guillaumebort/play2-sublimetext2
Hope it helps..
I tried to Sublime Text 2, when I installed all plugins and then I tried add "Recommended Settings", Sublime showed me popup "Buy license".
Finally I removed .coffee files and I wrote the controllers in pure js.
When the controllers are written in pure js, everything is ok.
I installed this plug of https://github.com/angelozerr/angularjs-eclipse, then I configured it.
After configuration I added in properties project path to folder where I have js files (right click on the project -> Properties -> Tern -> Script paths)
Result:
js content assist http://s30.postimg.org/cqftgkpmp/image.png
html content assist http://s12.postimg.org/l586ejryl/html.png
AngularJS Eclipse is based on tern.js which is an inference JavaScript engine. So it works today only with JavaScript. Some people have started to support CoffeScript with tern, but it seems that it's not perfect. See this issue
For CoffeScript editor, I suggest you to install http://www.nodeclipse.org/coffeescript/
If one day tern.js supports well CoffeScript, I think it should be a good idea to :
integrates tern-coffescript to tern.java (AngularJS Eclipse is based on tern.java).
integrates tern.java to http://www.nodeclipse.org/coffeescript/ to benefit with CoffeScript completion managed by tern.js
I use Eclipse 4.4.0 with Aptana Studio 3 Plugin. Use the following URL as location: http://download.aptana.com/studio3/plugin/update/
It supports syntax coloring and some kind of shortcuts ("Commands") but no content assist.

GAMA agent based modeling 1.5.1 issue with Eclipse Indigo sr2 and PDE plugin "unable to open editor" message

I am using the GAMA framework for agent based modeling, which relies on Eclipse Indigo SR2. I was not sure if this was a GAMA issue or an Eclipse issue, so I am posting to both the GAMA help as well as Stackoverflow.
So I am using Eclipse Indigo Modeling Framework and I cannot seem to load the .product file for the Plugin. Whenever I try and load it, it just shows "unable to open editor" in the Product Configuration Editor window. There is really no message or error indicated, so I am not sure how to debug this one. I thought I might be missing a plugin, but it seems that the GAMA svn project will download all of the plugins necessary. Any suggestions would be appreciated. I have included a picture to demonstrate the issue.
Figured this one out. In this case, you need to click on the Java perspective before it will work. So the omission was simply changing the perspective. Good lesson though.

Categories