eclipse

How can I make Eclipse provide more help with Hivemind configuration files?

A project I work on uses Apache Hivemind to do dependency injection for our app. We have various Hivemind configuration files that define service points, configuration points, etc. And if a developer erroneously edits one of these Hivemind config files, the error is only revealed at runtime. In Eclipse the hivemind config files are tre...

What is the easiest way to figure out who wrote/edited this line of code?

This obviously requires the source file to be under source control. I would ideally like a tool which works under the IDE (Eclipse, Visual Studio, etc) - but an external tool would be nice, too. Obviously, it is possible manually go through previous versions of the file, and compare the various versions, but I am looking for a way to be ...

what does it mean when a bug doesn't crash the program

The title says it all. No dire need to know, I'm just curious. Sometimes Eclipse comes up saying "hey you should debug this line!!!" but doesn't actually close the program. I can then continue to play big two, and even go through the same events that caused the error the first time and get another error box to pop up! The bug is simple,...

.htaccess for Zend Debugger, Eclipse and Zend Framework

Hi, I want to debug my project in Zend Framework in Eclipse. Zend Debugger is already running bud now I have problem with Debug tool in Eclipse. It give an extra GET parametrs and the project in Zend don't like it. I tried to google it and found this I modifed the .htaccess file but not make it working. RewriteEngine On RewriteCond ...

What are your favorite Eclipse plug-ins?

The only plug-ins I use are the ones required to do my job like SoapUI, Maven and SVN. I'm wondering if maybe there are some plug-ins out there that might make my life easier. Are there any Eclipse plug-ins that you find invaluable? ...

uninstall plugins in Eclipse 3.4.X

Hi, The GUI for managing plugins in Eclipse got a bit of an overhaul in version 3.4.0. This GUI is accessed via the "Software Updates..." option in the Help menu. This displays the following dialog: Notice that the option to remove the selected plugin (Mylyn) is greyed out. In fact, this is true of virtually every installed plugin. ...

Unused code plugin in Eclipse 3.4.1

Hi, I recently upgraded to the latest version of Eclipse (3.4.1). It appears that the unused code detector plugin doesn't work with this version. When I try running it, I get the error message: Problems running UCDetector. Check error log No enum const class org.ucdetector.preferences.WarnLevel.Ignore Has anyone else had this ...

Custom command for Eclipse on current file

I would like to enhance Eclipse so that when I press a custom key combo--say Ctrl + Shift + E--then it will run a command on the current file (if my current buffer is foo.c then it will run `mycommand foo.c' in foo.c's directory). ...

Eclipse keyboard shortcuts broken in OSX 10.5.6

So I have been using Leopard for a year now, and the lastest update broke the keyboard mapping for eclipse. I use the dvorak layout, and now in eclipse if I press the ⌘ and the b key it does a build, instead of a cut(b = x). Does anyone else have this issue, and are there any workarounds? EDIT: The best current workaround is to upgra...

Eclipse keyboard shortcut to an Ant task?

Is there a way to run a specific Ant task via the keyboard? I have a rsync to dev task that I run a lot and running to the mouse to double-click is a pain. ...

How to set a breakpoint in Eclipse in a third party library?

I'm getting a NullPointerException in a Class from a 3rd party library. Now I'd like to debug the whole thing and I would need to know from which object the class is held. But it seems to me that I cannot set a breakpoint in a Class from a 3rd party. Does anyone know a way out of my trouble? Of course I'm using Eclipse as my IDE. Upda...

How do I turn off automatic updates in Aptana Studio for Eclipse?

I installed Aptana Studio plugins for Eclipse and now Eclipse startup is slower than ever because Aptana Studio always checks for updates at startup -- and it's really slow! How do I turn off auto updates in Aptana? ...

Eclipse syntax highlighting preferences save and restore

I spend some time customizing the colors for syntax highlighting in Eclipse (Java, JSP, HTML, CSS, etc.) but whenever I try to export these settings via File|Export|General|Preferences and reimport them, the settings never completely get imported back. Some colors are restored and others are left unchanged, leaving me in an 'in between' ...

Why does the EPIC eclipse plugin not show any info in "Explain Errors/Warnings"?

I use the "EPIC" plugin to Eclipse for Perl development, but in the "Explain Errors/Warnings" view there's no info at all, even though I have some compilation errors. Do I need to do anything special to get EPIC to display useful info in that view? What is that view for anyway? ...

PHP: Messaging/Logging to Eclipse Console?

Is it possible to send messages from a PHP script to the console in Eclipse? Has anyone attempted this already? I'm not very familiar with how the console works, so I'm not sure if there is a standardized method for communicating with it. ...

Invoking Java main method with parameters from Eclipse

During development (and for debugging) it is very useful to run a Java class' public static void main(String[] argv) method directly from inside Eclipse (using the Run As context menu). Is there a similarily quick way to specify command line parameters for the run? What I do now is go to the "Run Dialog", click through the various sett...

Headless Eclipse Build returns ERRORLEVEL 13

Everything was going well. Nightly builds ran for more than a month with no problems. However, suddenly when invoking the feature builder from Eclipse the execution ends right away with the message. ERRORLEVEL 13 As far as I know I haven't changed anything, as this computer is normally not touched. (It is only used for the nightly b...

With multi-module Maven projects, is it possible to make my root (pom-packaged) project available in Eclipse?

We have a fairly large group of Maven2 projects, with a root POM file listing 10+ modules and a lot of properties used by the modules (dependency version numbers, plugin configuration, common dependencies, etc). Some of the modules are, like the root project, parents to other sets of modules. To clarify, the root project and said paren...

Any way to make break point symbols be on top in the vertical ruler in Eclipse?

The problem is that search results overlap and make it hard to see whether I've set a break point or not. Any ideas how to remedy this? I can't seem to find a customizable order of which symbols are displayed on the vertical ruler. ...

Editor templates for defensive programming

Recently I worked on FindBugs warnings about exposing internal state, i.e. when a reference to an array was returned instead of returning a copy of the array. I created some templates to make converting that code easier. Which one did you create to support defensive programming and want to share with the SO crowd? Templates I've create...