Questions tagged [eclipse]

Eclipse is an open source IDE and platform for building applications. There is a wide variety of plugins for various programming languages and other development-oriented tools (such as modeling, database browsing, etc.). This tag should only be used for questions specifically about the Eclipse IDE or platform, not for generalized (Java, etc.) programming topics.

Eclipse IDE is an open-source IDE platform written mostly in Java and primarily used for Java development through the use of the Java Development Tools (JDT) plug-ins. It is notable for its rich ecosystem of free and commercial plugins and that it is predominantly itself composed of plug-ins.

Eclipse IDE is built on an OSGI implementation called Equinox; the same OSGI-based framework is used for managing its plug-ins at runtime. Eclipse can also be used as a development environment for non-IDE GUI applications, leveraging many of the same plug-ins as the IDE to form a more general Rich Client Platform, called Eclipse RCP.

For C/C++ development, the Eclipse CDT Project provides plug-ins to create a C/C++ development environment within Eclipse IDE.

The Eclipse Web Tools Platform project supplies plug-ins for developing Open web standards-based and Java web applications, and frameworks for building higher-level web tools.

For PHP development, the Eclipse PDT Project provides a plugin to create a PHP development environment within Eclipse IDE, building on features of the Web Tools Platform. The popular commercial Zend Studio is also based on Eclipse IDE.

For Python development, PyDev provides plug-ins, called PyDev, to create a Python development environment within Eclipse IDE.

For Perl development, the EPIC project provides a plugin to create a Perl development environment within Eclipse IDE.

Note that Google has ceased developing the Android Development Tools in favor of another solution.

When combined with Cygwin (or MinGW), Mono, and its many plugins, Eclipse IDE provides a crucial part of viable open-source alternatives to using Microsoft Visual-Studio as a Windows software development platform in Windows, whilst also including comprehensive native support for Java.

Download the latest version of Eclipse IDE from eclipse.org
Download site for the Eclipse Platform project itself, including the core runtime and SDK
Eclipse Marketplace featuring Plug-ins, Bundles and Products

###Useful Links:


Within the Stack Overflow community, Eclipse is synonymous with the Java IDE, but that does not mean questions about Java are questions about the IDE.

Consider what changes your question would require if you were using vi to edit and ant to build; if your question would remain unchanged, then it is not an Eclipse question, so you should not give your question the tag. Use the tag instead.

Initial release Eclipse (1.0 - 7 November 2001)

Previous Version: Eclipse 2020-12 (4.17.0 - 16 December 2020)

Latest Version: Eclipse 2021-03 (4.18.0 - 17 March 2021)

If you suspect your issue is version specific, list the version in your question.

122304 questions
429
votes
14 answers

How to auto-remove trailing whitespace in Eclipse?

The question has two parts, one of which I already have the answer for. How to auto-remove trailing whitespace from the entire file being edited? -> Answer: use the AnyEdit plugin, which can be set to do that on any save to the file. How to…
Jan Żankowski
  • 7,866
  • 5
  • 32
  • 46
424
votes
12 answers

How to build an APK file in Eclipse?

When I develop the project using Eclipse, the APK file goes on the emulator. But I want to upload my application to a real device. Is there a tool to build an APK file? What is the process? Or is it possible to pull the APK file from the emulator?
sean
  • 8,908
  • 21
  • 63
  • 79
424
votes
20 answers

Dark color scheme for Eclipse

Is Eclipse at all theme-able? I would like to install a dark color scheme for it, since I much prefer white text on dark background than the other way around.
Bartosz Radaczyński
  • 17,696
  • 14
  • 48
  • 58
418
votes
9 answers

Eclipse Optimize Imports to Include Static Imports

Is there anyway to get Eclipse to automatically look for static imports? For example, now that I've finally upgraded to Junit 4, I'd like to be able to write: assertEquals(expectedValue, actualValue); hit Ctrl + Shift + O and have Eclipse…
Paul Croarkin
  • 13,719
  • 14
  • 73
  • 108
413
votes
15 answers

How to fix error "Updating Maven Project". Unsupported IClasspathEntry kind=4?

I have imported maven project in STS, when I run update update project I receive: "Updating Maven Project". Unsupported IClasspathEntry kind=4 Is there a workaround for this?
user810430
  • 10,663
  • 15
  • 34
  • 42
411
votes
31 answers

No appenders could be found for logger(log4j)?

I have put log4j to my buildpath, but I get the following message when I run my application: log4j:WARN No appenders could be found for logger (dao.hsqlmanager). log4j:WARN Please initialize the log4j system properly. log4j:WARN See…
maximus
  • 10,204
  • 25
  • 85
  • 124
403
votes
30 answers

How do you debug PHP scripts?

How do you debug PHP scripts? I am aware of basic debugging such as using the Error Reporting. The breakpoint debugging in PHPEclipse is also quite useful. What is the best (in terms of fast and easy) way to debug in phpStorm or any other IDE?
Marcel
  • 5,739
  • 15
  • 43
  • 52
401
votes
3 answers

How to view hierarchical package structure in Eclipse package explorer

OK here's what I would like: in the Eclipse package explorer, I see the following: (dot represents a clickable arrow that I can use to expand the folder) PROJECT Source Folder Package Class…
Philip
  • 6,273
  • 3
  • 21
  • 28
399
votes
20 answers

Eclipse IDE for Java - Full Dark Theme

Is there any way to completely turn Eclipse to a dark IDE? Here's a Picture of what I'm asking: I don't mind doing 1 hour of work to do something like this :D EDIT: As Konstantin Komissarchik said, I had to modify my OS colors. This is possible by…
Alireza Noori
  • 13,898
  • 24
  • 89
  • 165
395
votes
7 answers

Eclipse jump to closing brace

What is the keyboard short cut in Eclipse to jump to the closing brace of a scope?
Trastle
  • 4,905
  • 5
  • 23
  • 19
393
votes
54 answers

Unable to execute dex: Multiple dex files define Lcom/myapp/R$array;

Since updating to ADT 14 I can no longer build my project. It was building fine prior to updating. The error: [2011-10-23 16:23:29 - Dex Loader] Unable to execute dex: Multiple dex files define Lcom/myapp/R$array; [2011-10-23 16:23:29 - myProj]…
terry
  • 2,032
  • 4
  • 16
  • 11
386
votes
41 answers

Eclipse - Unable to install breakpoint due to missing line number attributes

I am getting this strange error in Eclipse while trying to set a breakpoint. Unable to insert breakpoint Absent Line Number Information I ticked the checkbox from Compiler options but no luck.
chandrajeet
  • 8,593
  • 6
  • 21
  • 15
369
votes
8 answers

How do I enable the column selection mode in Eclipse?

News wrote that Eclipse 3.5 finally supports column selection. Unfortunately I don't know HOW to enable it. I tried pressing the ALT-key like I am used to in Visual Studio and all other Microsoft products but that had no effect. How can I mark a…
vobject
  • 5,050
  • 3
  • 26
  • 21
365
votes
41 answers

Things possible in IntelliJ that aren't possible in Eclipse?

I have heard from people who have switched either way and who swear by the one or the other. Being a huge Eclipse fan but having not had the time to try out IntelliJ, I am interested in hearing from IntelliJ users who are "ex-Eclipsians" some…
Epaga
  • 35,261
  • 53
  • 143
  • 239
358
votes
8 answers

How do I remove javascript validation from my eclipse project?

I am using eclipse on my project and while messing around with my eclipse settings, I turned on Javascript support. Now eclipse complains that JQuery library has errors in it and is not letting me compile the project. Does anyone know how to turn…
Ritesh M Nayak
  • 7,801
  • 13
  • 47
  • 78