Eclipse is a popular IDE for Java, C and other languages. Note that questions that deal with the use and toolchain for Eclipse typically belong on Stack Overflow.

learn more… | top users | synonyms

74
votes
20answers
15k views

Is a company order to switch to a certain IDE a red flag? [closed]

I recently joined a rapidly growing startup. In the past 3 months the development team has grown from 4 to 12. Until now they were very laissez-faire about what developers used to do their work. In ...
69
votes
17answers
8k views

Is imposing the same code format for all developers a good idea?

We are considering to impose a single standard code format in our project (auto format with save actions in Eclipse). The reason is that currently there is a big difference in the code formats used by ...
38
votes
9answers
5k views

How do I convince my teammates that we should not ignore compiler warnings?

I work on a huge project (more like a tangled up combination of dozens of mini projects that can't be easily separated due to poor dependency management, but that's a different discussion) in Java ...
27
votes
16answers
19k views

I use an IDE (Eclipse) to develop software. Why should I switch to vim or emacs? [closed]

My day job is java/web developer. I have been using eclipse for ~5years. I think its excellent and I also use Webstorm for javascript and html/jsp. I do on occasion need to ssh into server and ...
26
votes
5answers
4k views

I want to start using TDD. Any tips for a beginner? [closed]

I never used an automated test mechanism in any of my projects and I feel I'm missing a lot. I want to improve myself, so I have to start tackling some issues I've been neglecting like this and trying ...
17
votes
5answers
2k views

What are the benefits of prefixing function parameter names with p*?

I often see projects (in Java projects and teams using Eclipse) that prefix function parameters with p. For example public void filter (Result pResult) ... I personally don't see any benefit in ...
16
votes
5answers
12k views

Is it a good idea to format the code in eclipse using auto format

I use eclipse for coding, and the language which we use is Java. Once it was suggested by someone that to properly format the code, using the auto formatter(CTRL+SHIFT+F) While this command does ...
14
votes
7answers
16k views

Why does Microsoft charge a fortune for its developer tools? [closed]

Microsoft charges thousands of dollars for most versions of Visual Studio. Compare this with companies like Apple and Google and with organizations like GNU and Eclipse that give away developer tools ...
11
votes
6answers
2k views

What features in Eclipse is not available in Visual Studio? [closed]

I have done much development in Java using Eclipse, and now I have started to use Visual Studio for .NET development. So far I find the IDEs to be able to do the same things, but just different. What ...
10
votes
1answer
3k views

Java application structure: Horizontal vs vertical split

Having a bit of a debate about the starting project structure (using Maven/Eclipse) for a big Java application. Option 1: entities (i.e. the whole database using Hibernate classes-first) services ...
8
votes
1answer
1k views

Why does the new ADT create a static inner class Fragment by default?

Honestly, I can't help but feel that this is done merely to confuse newcomers. Most of the errors on Stack Overflow by complete Android newbies mostly stem from that they have a static inner class ...
6
votes
4answers
7k views

What's meant by, “TODO Auto-generated method stub”? [closed]

I am using eclipse for android programming, and every here and there i see the statement, "TODO Auto-generated method stub." I understand that these methods were generated automatically by eclipse ...
6
votes
4answers
815 views

Is the output of Eclipse's incremental java compiler used in production? Or is it simply to support Eclipse's features?

I'm new to Java and Eclipse. One of my most recent discoveries was how Eclipse comes shipped with its own java compiler (ejc) for doing incremental builds. Eclipse seems to by default output ...
5
votes
3answers
1k views

Why does Eclipse need to be restarted after installing a plugin? [closed]

As Eclipse uses OSGi to handle modules and bundles, and therefore should be able to hot-deploy them, why does it suggest to restart after installing a plugin "for changes to take effect"? Has Eclipse ...
4
votes
4answers
471 views

How much time do you spend actually developing vs. infrastructure activites?

When I'm working I feel like most of the time I'm not doing actual work. For example after making a change to the code in order to test it, I have to first build the project, and start the server(say ...
4
votes
6answers
3k views

What deters developers from using automated refactoring tools? [closed]

I was having a discussion with my colleagues about using the automated refactoring tools in IDEs (Eclipse, NetBeans, IntelliJ, Xcode, Visual Studio, etc) and was surprised that many of them were ...
4
votes
1answer
196 views

How to Structure Simple C++ projects for TDD

I am introducing Google Test into our development environment at work, and would like to encourage a TDD mindset, making this as accessible as possible for new developers to start using. I am looking ...
4
votes
1answer
2k views

Why do my java programs run faster in eclipse than in BlueJ?

I've been programming for about 2 years, and so far Java is all I know. When I made the switch from BlueJ to eclipse I noticed my old projects ran much faster. What would be the reason for this, as ...
4
votes
1answer
262 views

How to set up a distributed version control that can commit to subversion [closed]

We have a trac server setup that works with the svn commits, so we can do things like "fixed #183" in the commit messages, and reference the changes involved. Right now I have eclipse with subclipse ...
3
votes
6answers
2k views

What are the advantages of using the Java debugger over println?

I always use System.out.println(...) to debug my code, and it works pretty well. In which cases do you use the eclipse java debugger? I never had to use it and the little bug symbol is still ab bit ...
3
votes
2answers
3k views

What are the advantages of Maven when it comes to single man, educational projects

I've spend a few hours playing around with Maven + reading some stuff on the apache official site and also a few random googled articles. By this I mean that I really tried to find the answers myself ...
3
votes
3answers
753 views

using svn and mercurial in eclipse for same project

Is it possible to have in eclipse 2 "team providers" for same project. E.g. svn and mercurial? So svn will be used to commit to central repository, and mercurial only to work on my PC. E.g. when I ...
3
votes
2answers
697 views

Reason for a reflection error

I’m working on an Eclipse plug-in project. Using this plug-in, users can create Eclipse Java projects with some specificities. For example, they can add Java classes’ names which will be saved in a ...
2
votes
5answers
1k views

Improving the Java development workflow [closed]

I will like to assist my group standardize to a reproducable Java tooling environment that aligns with some good practices to improve on our workflow. We are predominantly a .NET shop that has been ...
2
votes
2answers
804 views

Managing Eclipse projects in source control [closed]

I've been using eclipse for a long time to do development. One of the problems I've come across when working on other people's projects is if they come from source control, some of the eclipse project ...
2
votes
2answers
2k views

Why delete method/field/function refactoring doesn't exist in Eclipse?

An operation in an interface is obsolete so I decided to delete it. It seems that there is no automatic support for such a "refactoring" in Eclipse. For me is a refactoring operation since the ...
2
votes
2answers
743 views

source code file system layout for 2 very similar projects (with git)

we're working on "two" android apps that are very similar; in fact, they're the same apps with different graphics and color schemes, slightly different configuration and one or two unique activities ...
2
votes
2answers
1k views

What is the advantage of using UI binder in GWT?

Mention the pros and cons of UIBinder in GWT. I want to develop a big project. Is it flexible to use UIBinder for my project?
2
votes
2answers
455 views

Progressbar patterns (Eclipse)

I've struggled quite a bit with Eclipse and progress-monitors to try to have good progressbars which report useful progress information to the user. Inevitably the code gets cluttered with lots of ...
2
votes
1answer
121 views

Versioning Within a Platform

I work with a few different web platforms, and my actual projects are typically quite small, and live within those platforms. The project files are scattered throughout the platform tree, which makes ...
1
vote
3answers
180 views

Which VCS is more applicable for our workflow?

Currently we have code stored on a shared network drive and do not use any kind of VCS. The code stored on our shared network drive is always being backed up. We would like to keep things as close ...
1
vote
2answers
956 views

Submitting Java Code with Junit unit test

I have mostly worked on simple java programs and compiled and run them with Eclipse on Windows. So, I have no experience of using command prompt for compiling Java projects and do not have much info ...
1
vote
2answers
252 views

How can I avoid the engineering mistakes of PDT?

As a developer with enough experience to evaluate a tool, I may say that PDT is very huge in size and slow in performance for a PHP IDE. It gets bigger by release and exponentially slower by the size ...
1
vote
1answer
2k views

Setting up Eclipse IDE for Python and PHP development

There are various versions of Eclipse IDE available at Eclipse Download. Since, I am not concerned with Java development, I downloaded the Eclipse Classic 3.7.1. Now, I want my IDE to be setup for ...
1
vote
1answer
181 views

How/Where do I give my github commit a version?

I 'm just learning to give project versions. I understand writing details about the changes in my project when committing, but where should I put my version number for my project?
1
vote
1answer
521 views

myeclipse: can I customize templates like sysout in jsp

Myeclipse's java code templates like sysout make coding easier, and they can also be customized. But seems it's jsp editor has no such capability. Is it possible to create and customize some ...
1
vote
1answer
132 views

App Engine SDK Dev transition to Google Plugin for Eclipse [closed]

I'm trying to understand the transition people make with their apps in the App Engine SDK and how/why/what they move to the Google Plugin for Eclipse. It seems you can create a web application using ...
1
vote
0answers
111 views

How to modify the open-save-close life-cycle MapEditor class in a uDig Eclipse RCP

I am working on a uDig application. I have been trying to figure out how to modify the open-save-close life cycle of the MapEditor class created by uDig. The reason being I want to make sure that ...
0
votes
1answer
267 views

Why is Eclipse platform dependent?

When Eclipse is written in Java and Java is platform independent, why does Eclipse offer different versions according to platforms? I assume it should be write once, use anywhere code.
0
votes
2answers
1k views

.properties files in regular src folder okay? [closed]

I work on a Java project with a suggested structure (separate src folders for java files and resource files). After moving the message / text related properties files to that folder, the externalize ...
0
votes
1answer
717 views

Git structure for java project

I know there are multiple posts on similar problems, so please be kind with me. I am asking for suggestions I have not thought of and for good advice. I have a java "project" that is structured in a ...
0
votes
1answer
250 views

Which past version of Netbeans IDE that has lightness almost equal or better than Eclipse Indigo?

Currently, I'm a long Eclipse user because my past and current companies always deal with eclipse. Recently I met some example java codes created using netbeans. I downloaded and tried Netbeans 7.x ...
0
votes
2answers
1k views

New vs Clone Git in Eclipse with EGit

I'm not sure I have either my new repo or clone repo workflow, or both, setup correctly. When I create a new project I create a repo on github, can't clone from it as it's empty so I create a new ...
0
votes
3answers
3k views

Advantages of Scala vs. Groovy with JAVA EE 6 Applications [closed]

Please let me first emphasize that I am not looking for flame wars. I just want advice from people who have real experiences. I started learning JAVA EE 6 as real newbie and am having a difficult ...
0
votes
1answer
903 views

Creating a separate project for JPA entities

Where I work it is a common practice to create a separate for JPA entities and a project for the web application (the WAR). So basically you have (at least) two project for each application - appJPA ...
0
votes
1answer
40 views

Why are the version / build numbers different for Mylyn?

At projects.eclipse.org Mylyn Build 1.1.0 is slated for June 2013. At www.eclipse.org/mylyn The "news" says Mylyn 3.8.3 was released on March 1st. Why is there little or no correlation between the ...
0
votes
1answer
615 views

Can JSP Expression Language provide type safety like scriptlets in Eclipse IDE?

Almost everywhere you can read that you should use EL instead of scriptles in JSP. And I agree that you should not use any JAVA code in JSP except for calling getter methods on model objects. This is ...
0
votes
2answers
2k views

Implementing MVC pattern in SWT application

I am developing an SWT application (it's basically an Eclipse plugin, so I need to use SWT). Currently my design is as follows: Model: In model, I have POJOs which represents the actual fields in ...
0
votes
1answer
430 views

Eclipse: on new projects, which mode: debug or release?

I'm asked to teach my students Eclipse. The lectures are already done; I see that the teacher asks the students to always start a new project in "Release" mode. Is this a good idea? If "yes", or ...
0
votes
0answers
7 views

Can't find a source file […] allocator.h [migrated]

I am trying to debug a debug example code, which is part of a C++ course materials, with Eclipse. However, once a certain line of the code is reached, this message is displayed and the the rest can't ...