Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I was looking for java plugin in Vim. Yesterday I came across Eclimd. After going through the guide to install Eclimd from http://eclim.org/ I am able to run eclimd.
For running eclimd, eclipse is required and has to run as server.
My question is, why to run eclimd over eclipse? What gains do eclimd over eclipse give?
Also, (it's been only few hours that I have used eclimd) it seems Eclipse is more friendly.
Could anyone suggest reasons for the preference of eclimd over eclipse.
Vim is much better at text editing than Eclipse, even with a Vi-emulation plugin.
Eclipse is much better at understanding your code and interacting with the Java toolchain than Vim, even with all the Java plugins you can find on vim.org.
Eclim is a way to combine the distinctive powers of Vim and Eclipse. If you don't care, by all means don't use it and keep doing what you did before.
Vi doesn't have features for auto complition or code validation afaik for any programming language. It does provide syntax highlighting capabilities , but that's all.
Eclipse provides these features to Eclimd.
Eclimd is a client to Eclipse, that's why you can't run it without eclipse.
I hope that clarified it.
BTW: Eclipse does its syntax checking by running the javac (when used for Java programming),
while vi(m) usually doesn't support direct calls to other tools in its extensions.
But if you are focused on Java Development, you should, imho, use an ide. Eclipse is a good one, there are others such as JDeveloper oder Netbeans.
That's not only because the clear structure of projects, the integration into the build process but also because due to the different stages a Java - Project usually has.
It often starts with a desigining period, where you model your application in UML.
While developing, automated functional test will usually be developed, too, they should be designed also. After that there come the integration tests. Most ides suit much better for this when a vi - plugin could.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 10 months ago.
Improve this question
New user here. I have just recently started learning Java programming. Can someone explain in their own words what JDK and IntelliJ have to do for Java programming? I did google, but the answers were not satisfying.
from Wikipedia, Java is a high-level, class-based, object-oriented programming language that is designed to have as few implementation dependencies as possible. JDK or Java Development Kit is a set of tools needed for developing a Java Application, like compiler, interpreter and other tools. For writing a Java program you can use any text editor and save your files with .java extension.
At older times people used to type code in basic editors like notepad.
But now things has changed. To easily understand your code there are some softwares which can format your code, highlight syntax, compile and run your project in just one click, Find your errors at the same time writing the code and many more. A software like that is called an IDE or Integrated Development Environment. There are many IDEs available now and IntelliJ is one of them. Other than IntelliJ, there are many IDes like
Eclipse
NetBeans
BlueJ
DrJava
JDeveloper
and many more
I think now your doubt is cleared.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
Eclipse is designed base on OSGi model. And the OSGi model declaim it supports hot install and uninstall bundles. So I am confused why the Eclipse always need to restart to take a new install plug-in work. Is the OSGi model not that good or Eclipse not implemented the whole model?
The OSGi model works very well, but dynamics doesn't come for free. Bundle code needs to be written in such a way as to cope with services coming and going.
Eclipse has two problems. First there are an awful lot of legacy plugins that are not dynamic-aware and are written by frankly mediocre developers. Second, Eclipse has always shunned the services part of OSGi, instead favouring the "extension registry" with its a more static and clunky lifecycle (actually it's possible to handle dynamic updates with the extension registry, but much harder than when using OSGi services).
Actually in many cases Eclipse can dynamically cope with the addition of plugins, which is why the install dialog gives you the option to do this. But because of the variable quality of third party plugins, it plays safe and recommends a restart.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Is anybody use Eclipse IDE for Java EE Development? If somebody does, can you answer me for this questions?
How to create files like "beans.xml", "sun-web.xml" and so on. Some XML's is created during the project creation process, but there is no special templates for creating others. I think, I should create "XML file" and write apropriate name and contents by hand. Am I right? NetBeans has much more templates, I think.
After using of NetBeans, It's hard for me to understand the principes of libraries configuration in the "Java Build Path" properties. If I use GlassFish or JBoss - should I use "Mojarra" or "MyFaces" JSF implementation as User libraries? I think, in the case of GlassFish - I am not, cos the Application server already have this libraries.
What book(s) you recomend me to read for finding answers for my stupid questions? I try to read help center in the eclipse.org, but there are mostly ready to use examples with no answers.
P.S. I use Juno release of Eclipse and seems like it's better works with GF 3.1.2 and JBoss AS 7.1 than NetBeans 7.2. That's why I am interesting Eclipse IDE for EE development.
Thank you for helping me and wasting your time.
This is specific from glassfish, so eclipse won't generate them by default. These will be probably generated if you install Eclipse Glassfish plugin
Even if the application server has these libraries, you should add them to the build path so eclipse knows what to use when compiling it. If you are working with glassfish, in the libraries tab on the build path options, click add library -> Server runtime -> Glassfish (You will have to install glassfish plugin before)
I believe you can find most of these answers on internet, I've been developing with eclipse for +5 years, and never checked a book.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
There are many editions of Eclipse for Java development. I am trying out MyEclipse and am pretty impressed with the out-of-box experience. Before I get too comfortable with it, I would like to find out if it is the best edition available. Feel free to list free or commercial packages, but for the sake of other readers, please mention if there is a cost.
Considerations
I am mostly concerned with the code editing experience. Here is a list of some factors that would affect my decision:
Extensive support for refactoring
Code suggestions (like suggesting refactorings)
Easily configurable keyboard shortcuts
Easily configurable colours (I use dark colour schemes, and setting this up with MyEclipse was hell; that said, I only really need to do it once)
Excellent debugging support
Source control plugins (SVN or git if one exists)
Don't care about GUI designers
I am aware that there is a thread discussing the best IDE for Java development; however, most of the responses do not detail recommended editions of Eclipse.
I'm always just downloading classic edition and just add plugins I need. That way I keep Eclipse as lean as possible.
all of the above except the color stuff works great with vanilla Eclipse 3.4 + Subclipse. if you find an easy way to customize colors in Eclipse, please let us know.
Until then you're stuck with having to manually change each color.
Actually almost all the things you mentioned are present in the plain old "Eclipse IDE for Java Developers" (85MB) at eclipse.org. It has a much smaller footprint than some of the others like MyEclipse. You'll need to install an SVN plugin, though.
Agree with Marko and Epaga
I have Eclipse 3.4 (Ganymede) with following additional plugins (links are the update site URLs):
Subclipse for Subversion
Spring IDE for Spring. Favourite features: Advanced spring xml completion and bean visualisations.
m2eclipse for Maven. Favourite features: transitive dependency tree and graph visualisations.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
How can I start writing a plugin for Eclipse?
I've looked for documentation, but unfortunately there is very little or it's poor, so what articles can recommended?
There are some pretty good resources and tutorials on the main Eclipse and IBM's site. One of the best ways is to pick an open source plug-in that has some similar features to what you want to do and start to dissect it.
PDE Does Plug-ins
Plug-in development 101, Part 1: The fundamentals
Eclipse Plugins Exposed, Part 1: A First Glimpse
Developing Eclipse plug-ins
Eclipse has a pretty good "Your First Plug-in" tutorial. If it is confusing, I'm sure they would greatly appreciate your feedback. Keep in mind that Eclipse is essentially Java, so if you don't have a good grasp of Java go for general Java tutorials first, and then come back to Eclipse development.
O'Reilly has two good Eclipse Plugin tutorials:
Eclipse Plugins Exposed
Develop Your Own Plugins for Eclipse
They not only go through the simple code examples, but give you screen shots of the process since a lot of work is done through wizard type interface windows.
If these aren't helpful, perhaps you could be more specific as to what is difficult to follow.
-Adam
The best step-by-step that covers almost every aspect of plugin development is the book "Eclipse: Building Commercial Quality Plugins".
It's available at most book shops and electronically at safari:
http://safari.oreilly.com/9780321574435
I found a great Eclipse plugin tutorial named Extending Eclipse - Plug-in Development Tutorial.
I think a very good resource is also to look at the examples that are available via the new Plug-In Project wizard.
Depending on what you want to provide with your plug-in, you can choose from editor plug-ins, view plug-ins, plug-ins that provide a property page (just to name a few) and see how they're built and what extension points they implement.