What is the best support for groovy in Eclipse. Are there any plugins you could recommend. I tried Greclipse Plugin, but it seems not full compatible with STS 3.9.2 ...
Ah, it seemed I took an old link of Greclipse. STS3.9.2 seems to be compatible with http://dist.springsource.org/snapshot/GRECLIPSE/e4.8/
Related
I just downloaded the latest IntelliJ IDE, but I can not find the Spring Initializr, look at the Screenshot.
How can I deal with it, or can I only use Eclipse? By the way, I have installed the plugins "Spring Boot", but it works less.
Theres plenty of answers to this question if you look around. A simple "Google" search is all you need.
How to enable spring support in IntelliJ Community Edition 2016.1.3
You have not indicated if you are using the CE version or a licensed version. I have to assume you are using a license version here as CE version does not have any support for Spring plugins.
As you say if you have enabled Spring Boot plugin under IntelliJ > Plugins then make sure the checkbox is ticked to enable it. A mistake alot of people make.
According to groovy-eclipse plug-in website, groovy-eclipse plug-in supports certain groovy versions, 1.8, 2.0 and 2.1. This seemed a bit restrictive to me. What am I supposed to do if I work with groovy 1.9 or 1.7?
Perhaps the answer is that if you worked with Eclipse or GGTS before, then that couldn't happen; I suspect they never supported 1.9 or 1.7.
What is your concern? If you're worried that you might start off with 2.1 and have it not supported in future, then don't worry. If you're expecting to use some bizarre compiler feature that only worked in 1.9, then edit with the eclipse plugin for any version, and run Groovy (or Grails) from the command line with the right configuration.
Hope this helps...
Charles
Groovy-Eclipse supports the last couple of versions of groovy so we don't get into a maintenance headache. There is no Groovy 1.9 so we support right now 2.2/2.1/2.0/1.8 - we dropped 1.7. If you want to use 1.7 you would use an older version of groovy-eclipse that supported it. See version 2.8.0: http://groovy.codehaus.org/Groovy-Eclipse+2.8.0+New+and+Noteworthy - on that page you can download an update site archive that will give you groovy-eclipse and groovy 1.7.10
I'm new to Griffon.
But I installed Grails and currently creating projects on Grails in NB7.4. Because there is a default option in NB7.4. Grails working smooth.
Now(at this time of writing) in NB plugin portal there is a griffon plugin. But it supports only for NB7.1. I tried installing it on NB7.4, but it throws many errors while creating projects.(Project not created - It cannot create a project).
How to create Griffon apps on NB7.4. I tried google, but there is no support for NB7.4.
Help me on this topic. Also i need your suggestions and tips to run Griffon on NB7.4.
Hint: Actuall I'm trying to upgrade to Groovy-Griffon. Now I'm creating apps for shops on JavaSwing. I read Griffon it is amazing, so i planned to upgrade my work and knowledge.
Short answer is that the NetBeans Griffon plugin doesn't work very well with latest versions of NetBeans. This is due to changes made back in Griffon 0.9.5 on how dependencies are resolved.
Griffon doesn't really need an IDE but if you must then allow me to suggest you IntelliJ IDEA; the community edition comes with a Griffon plugin that works much better.
But you still have to resolve dependencies out side of IDEA, that is, calling the griffon --integrate-with --idea command from the command line, every time you update BuildConfig.groovy or install/uninstall a griffon plugin on your project.
Up to now(at the time of writing this) NB Griffon Plugin is not updated to support NB7.4.
NB7.4 have inbuilt support for Grails. I can create Grails apps directly.
NB Griffon plugin needs to be updated for NB7.4. Or NB team needs to add this support.
I have a Eclipse RCP project, and I want to use Groovy inside it. what I try to do is :
1) add "Groovy Nature"
2) create Groovy files under the "src" folder
3) call the groovy class from the "View"'s createPartControl() method.
But I got the “java.lang.ClassNotFoundException: fly.island.jface.Test”, and the "fly.island.jface.Test" is a groovy class.
What should I do to use groovy inside the Eclipse RCP project?
Use the latest version of Groovy-Eclipse 2.1.0 (or one of the dev builds). Update site is here:
http://dist.codehaus.org/groovy/distributions/greclipse/snapshot/e3.6/
Additionally, there are some steps you need to do to compile the groovy plugins when you the PDE build. I'd recommend reading:
http://contraptionsforprogramming.blogspot.com/2010/08/groovy-pde-redux.html
Essentially, you need to include the org.codehaus.groovy bundle in your rcp app, and then you need to make some changes to the build.properties file of your Groovy plugins (explained in detail on the blog post).
Are you using the latest Version of eclipse (3.6) and the groovy plugin? I recall occasionally having problems with the Java and Groovy compilers not finding each other's classes (in the first version of the plugin, it took a lot of fiddling and luck to get it to work at all). The most recent version seems to be pretty good in that regard, though I've been using it only for a few days myself.
Is there a good development IDE for Groovy/Grails code completion under Linux?
The best one is IntelliJ IDEA (IMHO).
Then comes Eclipse and Netbeans.
But anyway, code completion isn't a strong point of those IDEs because of groovy's dynamic nature.
Eclipse with the Groovy Plugin?
http://groovy.codehaus.org/Eclipse+Plugin
The SpringSource Tool Suite (STS) provides Grails integration:
http://grails.org/STS+Integration
Although I've read that the best IDE with support for Groovy/Grails is IntelliJ. See:
http://www.jetbrains.com/idea/features/groovy_grails.html
I am currently using Netbeans 6.7 Beta on Ubuntu for Grails development. This setup is very usable in general. The only problem I have is that code completion is very slow.
Does anyone else have this problem? Is it because of the dynamic nature of Grails?
SpringSource Tool Suite
check also netbeans groovy/grails plugin
I am a die-hard Eclipse user but have to say, try IDEA for Groovy/Grails support. It is much better that the current Eclipse plugin.