Using Eclipse 3.5 (FlashBuilder), I'm doing a bit of AS3 work.
With the in-house MVC framework I'm using, When I create a view - I need to make a change to quite a few files.
Its a simple process but its tedious and would work absolutely fine using some sort of automation.
Is there a plugin that allows me to do this? Monkey doesn't want to work anymore.
There doesn't seem to be any macro plugin out there. There wasn't in late 2008.
And the Practically macro may not be fully compatible with Galileo or Helios (3.5 or 3.6 Eclipse).
That leaves you only with some process which could involve external tools (Emacs), or Emacs-Eclipse integration, like a emacsplus (not tested, may also not be compatible with recent Eclipse edition).
Related
I have been using ANTLR with Eclipse for some time using the ANTLRv3IDE plugin. While it is not perfect, and a bit outdated, it does its job reasonably well.
Now I am looking to switch to ANTLRv4 for another DSL that I am creating. However, Eclipse support seems to be extremely thin. I decided to try out ANTLRWorks, which is a NetBeans plugin, but I could not get it to install (it seems to be locked to specific dated versions (201302132200 while I have something newer, still 7.3 as docs say) of dependencies).
So, the question: Has anyone set up any Java IDE (preferably Eclipse, but I could be persuaded to switch if support is good for something else) to integrate with ANTLR? With integrate, I mean: code generate on save/keyboard shortcut and syntax coloring (at the very least). Code completion and other features are of course nice to have, but I could live without them for now.
I am well aware of Xtext and I have had great success using it for some projects, but unfortunately it does not fit the needs here (need no IDE support, need my own DSL model not based on ECore, etc).
I know ANTLRWorks can be run as a standalone application without a Java IDE, but that I consider to be a last-resort solution as it is extremely cumbersome to work this way (switch between application, files out of sync, no VCS support etc). I tried the other way around: to install the Java parts into ANTLRworks (which itself is a NetBeans distro), but it did not end well (it seems basic project support etc was stripped out of ANTLRworks).
Antlr4 plugin for Eclipse is here:
https://github.com/jknack/antlr4ide
ANTLRWorks 2 uses many non-public interfaces from NetBeans, which means it will always be bound to a particular version. The standalone download will always work because it bundles the dependencies itself.
The standalone build of ANTLRWorks 2.1 is available. This build includes support for ANTLR 4.1.
A new plugin build of ANTLRWorks 2.1 will be available once NetBeans 7.4 is released.
Moving forward, the code for ANTLRWorks post-2.1 is open-source under an LGPL license.
I think you have downloaded Netbeans 7.3.1.
Try download 7.3 from https://netbeans.org/downloads/7.3/ and install the ANTLRworks plugin there. (Link to the ANTLRworks Update Center: http://tunnelvisionlabs.com/downloads/nbupdates/nb73/aw2/updates.xml ).
Note that ANTLRworks v2 contains ANTLR v4.0, which is not the current version of ANTLR (4.1). So also download ANTLR v4.0 from the ANTLR download folder (The antlr-4.0-complete.jar file) and use it as library for compilation.
Now you can use nearly all things you wanted.
ANTLRv3IDE was opensourced. It should be compile-able for Juno. For stringtemplate (ST4) look at the Hastee plugin. It supports some of ST4 constructs.
I recently switched from Eclipse to Netbeans 7.3 and experiencing a lot of quirks and i'm wondering if anyone else experienced them and/or got a solution. Because of these 'problems' i'm considering switching back to Eclipse again but i'm in doubt because NB has a lot of good things too !
These are the quirks:
when creating a new Java class, and make some typo's e.g. somewhere in a method, NB does not recognize / display the errors directly, but after a very long wait or a restart of NB.
This also happens to existing classes.
background scanning tasks is sometimes stuck at 100%
code completion does take forever. Don't even think about refactoring or renaming a class because it takes >3 minutes to scan the classpath (why, it's a new class for crying out load)
hot-deployment: changes are not always synchronized correctly with the (Glassfish) server.
Sometimes a complete undeploy and deploy is needed to reflect the changes made in the source.
NB manipules my pom.xml and glassfish-web.xml: it adds a deploy hint to the pom.xml and also changes or removes the context-root in the glassfish-web.xml. Please stop doing this!
Why o why can't i do a 'Fix imports' on my entire project. You can do a 'organize import' on the entire project, but this won't add the missing imports. See http://netbeans.org/bugzilla/show_bug.cgi?id=167031#c2
Running NB 7.3 on Windows XP, 3GB RAM, 2+GHz cpu
The project is a Java 7 maven project containing 12 modules / sub projects
I strongly recommend that you DO NOT attempt to install the ScanOnDemand plugin. It completely trashed my Netbeans, forcing me to use the Task Manager to kill the process. No existing projects were found; they were all listed as "unrecognized project; missing plug-in?". I had to re-install Netbeans.
One thing to look for is max heap allowed. Try adding "-J-Xmx2000M" to the Netbeans startup.
ref: Setting Heap Size
I suggest stick to your favourite IDE. Eclipse is still popular and Juno packages are doing good and Kepler is already available. You can try around latest packages.
IntelliJ IDEA looks better than other Java IDEs (light weight, faster, nice integration with SCM(source configuration) tools, possibility of easy cloud deployment, except that if you have freedom to choose your IDE whether you are part of a big/small teams, Otherwise there is no need to shift from one to other.
IntelliJ is the first IDE to give nice in-built support to Play framework
Google Android ADT is completely moving towards AndroidStudio based on community version of IntelliJ IDEA for faster and better GUI and app development.
As a Java developer it is not bad to try the other IDE to do some experiments or for any reason it strikes your mind.
Eg: Netbeans comes with sample apps in Java EE,Java7/Java2EE which looks better, nice examples for websockets, Servlet3.0, NIO examples etc,...but just try it or just ignore if it does not work. It is very easy to generate Entities from Database Tables, creating REST Endpoints in NetBeansIt may come with lot of in-built plugin-support for various java frameworks like RESTful webservice frameworks, JSF2.x, Primefaces3.x, SpringMVC, Struts but you may not sure to use the same version of framework. Some plugins may not work sufficient according to your business needs. Even if you okay with existing version it is not very friendly to develop Rich real-time UI development because Netbeans with Primefaces, instead you need to manually create XHTML templates.
Netbeans comes with nice support for Glassfish and tomcat, (other servers I am not sure but support is in-built). You can remote deployment with ease. Netbeans learning tutorials on JavaEE nice for beginners in the subject.
Netbeans also available as zipped bundle, hence no need to install even on Windows machines.
Eclipse has got better support with Java RoboCode learning tool (initiated by developed by IBM long ago.).
Also Netbeans comes with nice support for HTML5, Groovy, PHP, C++ as well (according to posts by users community, because I did not use them).
Getting thrown into ColdFusion dev at work and just starting out, I wonder if there are any advantages (or disadvantages) of using Eclipse vs Intellij. I'm used to working in Intellij on Groovy/Grails and have close to zero hands-on time with Eclipse. The shop I'm in mostly uses Eclipse (I think because it's free and not much else), some use Dreamweaver (1 person me thinks).
Thanks in advance.
I'm a CF Developer that has been playing with intelliJ of late! I must say I do love the smoothness of intelliJ. IntelliJ does has have a CF code library ( http://plugins.intellij.net/plugin/?id=3571 ).
I don't use Eclipse for CF Development, but do use CFBuilder, which is based on Eclipse.
I personally prefer intelliJ as an IDE, but prefer CF Builder when working with CF.
There are two options for working with Eclipse for ColdFusion Development:
cfeclipse - an open source, free plugin for Eclipse
cfBuilder - the 'official' IDE, sold and distributed by Adobe.
There is also a plugin for IntelliJ which I have no personal experience using however I note that some highly respected CF devs are using it and preferring it to the Eclipse-based options.
My team and I currently use CFBuilder 2 and find that to be good enough for our needs. The biggest criticism I see about CFBuilder/Eclipse is that it can perform poorly on older PCs and the common solution is to increase the RAM available to it.
The benefit my team finds with CFBuilder is that the full Eclipse plug-in ecosystem is available giving us bundled options for source control and other development tools. (The same may exist for IntelliJ but I have no personal experience with it.)
Dreamweaver, especially a recent version, is an option and many CF devs swear by ColdFusion Studio which is a very old program and might be hard to get your hands on. Finally, there is also a plugin for Notepad++ for the times where you need to make a quick edit to a file and don't require a full IDE.
The editor that a lot of people have been using for ColdFusion lately is SublimeText 2 (http://www.sublimetext.com/2) with the official ColdFusion Package (https://github.com/SublimeText/ColdFusion). The link I posted below from Nettuts will help you get up and running with the PackageControl package that makes installing the ColdFusion package very easy.
Sublime is lightweight, powerful, and a pleasure to code in. It has small animations that make it feel responsive, and the birds eye map view of the code can be very useful. It even has some code insite that I find really helpful.
Heres a great post on Nettuts to get you started: http://net.tutsplus.com/tutorials/tools-and-tips/sublime-text-2-tips-and-tricks/
When you come from the Eclipse world you surely miss Mylyn (a task focused interface). As I have to use Netbeans at the moment I am looking for something similiar. I would even be satisfied with some little helper to associate some files to a task, so that I can switch my working files at once to work on another project.
I know of Cubeon, but it doesn't seem to work with files that are not Java (like Ruby files in my case). It also doesn't seem to be worked on anymore.
Is there another little plugin that will do the job?
Task focused features like Mylyn are not available for NetBeans IDE as of version 6.9.1. They may become available after some time due to some community contributions. Cubeon used to work for NetBeans IDE 6.5.1 but I have not tested it on NetBeans IDE 6.9.1 yet, it may work.
Cubeon have initial task focused way of working but need many more features to be compared with Mylyn. So the answer for you is there is no plugin available for NetBeans IDE yet to match Mylyn like features in Eclipse.
UPDATE (11 Oct 2011): There is a NetBeans module for Task Focused Interface in NetBeans IDE hosted at java.net named NBTaskFocus. This module will work for NetBeans IDE version 7.0.x and onwards.
I'm not sure if I'm missing something. If Aptana is entirely based on Eclipse, why would anyone choose it, when they can get the original Eclipse (especially that the Eclipse development is not lagging in anyway)? I understand why/benefits Aptana started their project, but why would I use theirs instead of Eclipse? I don't know much about this IDE and I'm still trying to choose, so maybe I'm missing something that's obvious to the rest.
NetBeans isn't based on Eclipse -- it's from Sun, who traditionally haven't been a supporter of Eclipse (look at the names).
Aptana is a helpful packaging of a variety of useful web and scripting development tools. The nice thing about Aptana is that you just download it and it works. Aptana also provides a commercial version with a variety of additional features.
You may also want to look at Genuitec's MyEclipse, which packages up a variety of other components and provides some support for minimal cost.
I think they come with proprietary plugins that you can't necessarily get with a stock install of Eclipse. Same with the Zend IDE. You can get most of the same functionality with Eclipse but you have to install it yourself and you get no support that way.
Netbeans is not based on Eclipse.
As has already been stated, Aptana simply provides a nice set of plugins that work together to ease development. That's one reason to use it. Not only do you get the advantage of the Aptana plugins, but you get the Eclipse platform itself, which is still extensible, even beyond what Aptana does.
I have another reason as well: I run a dual boot system, XP/Ubuntu, and for development I like to use the same software in both OS's. I ran into problems using PHPEclipse on Ubuntu, so I switched to Aptana.