eclipse

What is the best free plugin for Eclipse that allows for formatting/indenting/cleanup of JSP code?

I know that IntelliJ has an option to select all the code in a JSP file, right click, and select "format". This nicely formats all HTML, CSS, scriptlets and JSTL tags in a JSP file. Can Eclipse do this? If not, what is the best free Eclipse plugin that does the same? ...

Where has windows working sets gone in Eclipse 3.4

Where can I find the option to switch between the Windows Working Set in Eclipse 3.4 (Ganymede)? In the previous version it was under then Window menu, but it appears to have moved. ...

Regex to find static (non final) variables

I am trying to do a search in my Eclipse (Java) workspace to find all instances of static variables that are not final. I tried various regex's but they do not result in any matches. Can someone suggest a regex that will match all lines containing 'static' and not containing 'final', and not ending in a '{' The last part about not endi...

How do I know when user minimizes / maximizes Eclipse?

I need to respond to the events of minimizing / maximizing Eclipse window. How do I do that? Thanks in advance. ...

How do I attach source code locations to plugins in my Eclipse RCP target platform?

I've got a workspace with multiple RCP plugin projects. We've set the target platform, so we can build against a standard set of plugins, but are not able to see source code and Javadoc for all the platform plugins. The Windows -> Preferences -> Plug-in Development -> Target Platform -> Source Code Locations page doesn't seem to have a...

Eclipse project directory

Is there a way to get the directory of a project in Eclipse? We are writing a plugin that will allow the user to select files, and then run some processes on those files. I would ideally like to be able to get all the files with a certain extension, but that is not necessary. ...

Excluding file types in Eclipse / Aptana find in files search

Is there a way to exclude say, image types in Aptana or Eclipse file search? I want to search all files that are not images rather than specifying all the file types that I want to search in. ...

How to Force Thread Dump in Eclipse?

I'm launching a Weblogic application inside Eclipse via the BEA Weblogic Server v9.2 runtime environment. If this were running straight from the command-line, I'd do a ctrl-BREAK to force a thread dump. Is there a way to do it in Eclipse? ...

Which Eclipse package to download for pydev?

I'm getting started with python, eclipse and pydev. Which Eclipse package should I choose? Nothing on the eclipse homepage tells me what to choose and python documentation assumes I have eclipse installed. Does which package I choose matter? ...

Eclipse doesn't recognize XML

I'm using the PHP Eclipse. When a XML file is opened, Eclipse doesn't seem to recognize the xml, meaning that all looks black. When opened the XML file like "open with" and point to eclipse, it works fine. What setting can be set to use that automatically so that eclipse recognizes it all the time? Same goes for HTML files actually. ...

How to get common Subclasses of 2 Interfaces in Java with Eclipse?

Actually I try to find a subclass of InputStream which is also Serializable. I think that doesn't exist. Since both Interfaces have many sublclasses it is hard to find one that is a subclass of both. Until now I haven't found anything to help my search in Eclipse. Anyone ideas? Edit: I understand now that serializing a Stream isn't rea...

How to change the value of ${user} variable used in Eclipse templates

Instead of hardcoding the default @author template I would like Eclipse to use user's real name taken from account information (in Linux - but Windows solution is also welcome). Entering it somewhere into Eclipse configuration would be acceptable, too, alas I can't find the right place. ...

Eclipse plugin for TestNG coverage

Does anybody know about a Eclipse plug-in to analyze code coverage for TestNG unit tests? Matthias Zerau ...

What do you need to do Unit testing in Java with Eclipse?

I've recently been lifted out of the .Net world into the Java world and I miss my unit tests. Using Visual Studio I used NUnit and TestDriven.net to run my unit tests. What is a comparable system for Java Using Eclipse? I'm looking specifically for the plugins that will get me going, or a guide on how to do it. I'm aware that JUnit i...

How Do I Use Eclipse to Debug a C++ Program on Linux?

I don't use Eclipse as an IDE, and have no interest in doing so. However, I do like its source-level debugging. Is there any way I can use it to debug a C++ Linux app without going through the ritual of creating a project? (In effect, can I just use it like a frontend to gdb?) If not, what are the steps I need to follow to create a p...

Finding unused jars used in an eclipse project

Are there any plugins/tools available to go through the classpath of an eclipse project (or workspace) and highlight any unused jars? ...

Compiling FFMPEG on Windows using Wascana

Has anyone ever tried, or had any success at getting Wascana (Eclipse CDT + MinGW for Windows) to compile FFMPEG under Windows. Apparently it is possible, there is even a tutorial at Craig Shaw's website but I have not been able to make it work. I run ./configure on the FFMPEG source code then create a new project in Eclipse and point i...

When using Eclipse with FindBugs can you mark a bug as not a bug and have it removed from the bug list?

FindBugs has found a potential bug in my code. But it is not a bug. Is it possible to mark this occurrence as 'not a bug' AND have it removed from the bug list? I have documented quite clearly why for each case it is not a bug. For example. A class implements the comparable interface. it has the compareTo method. I have however not ov...

What would be the best way to relocate an entire (versioned) Eclipse workspace?

I was wondering what would be the best approach you guys would take to relocate an entire Eclipse workspace? Assuming it's either versioned and exported, what would you do? Import the file? Checkout the whole thing from the repo? Thanks much in advance! ...

Where in an Eclipse workspace is the list of projects stored?

I use eclipse with "external" projects - i.e. projects created from existing source. Poking around in the workspace files, I cannot find any reference to these projects. My question is: how does eclipse keep track of these projects? I'd like to be able to add such a project to the workspace automatically (by generating .project and .c...