eclipse

Problem running our client from within Eclipse

Whenever we run our Java client from within Eclipse to contact a server app using RMI, we get an exception: java.io.StreamCorruptedException: invalid type code: 01 This only happens from within Eclipse, nowhere else (IntelliJ, command line, etc.). Does anyone know what's going on? ...

Netbeans 6.5 Diff Tool

I'm very happy of Netbeans 6.5 diff tool, I have to ask some questions about it: which is its name? there's an equivalent for eclipse? is there any standalone version (without netbeans)? Thank you very much!! Valerio ...

Limiting contributed extension point data between eclipse plugins

I have 2 eclipse plugins that I am building; let's call them plugin A and plugin B... Plugin A requires a license to run and Plugin B is free to the world. I have created an extension point in Plugin B to which Plugin A contributes (and in some cases overrides) data. I would like to find a way to disregard that data in plugin B if plugi...

Is there a way to tell Eclipse to "Save all" before building?

Does anyone know if there's a way to get Eclipse to do a "Save all" before building java code? (I don't use the "Build automatically" option, I'm talking when you use "Ctrl+B" to do a build all) I've dug thru the preferences, and can't seem to find anything, so I figured I'd check the hive mind at Stack Overflow just in case. I'm usin...

Can Eclipse PDT automatically add PHPDoc Blocks to code where needed?

I know most of the java development tools for Eclipse will have a short-cut script for adding in JavaDoc blocks for needed elements (including the page-level). Further, I know that PDT will allow you to "Generate Element Comment" for many things through the Source menu. Is there an Eclipse plug-in out there (or perhaps it exists standa...

Is there a simple, consistent way to change the color scheme of eclipse editors?

I'm going crazy trying to get all of the editors to look similarly. It looks like there's a different color editor option for each file type/code type, which means it takes FOREVER to customize the view. Add to that: each code/file type color option seems to honor the default set in the generic options only if it feels like it (seems b...

eclipse keybindings settings

Where does eclipse keep it's key-binding settings? I want to transfer them from one system to another. If there is a tool for this that would be good but if not, I'm willing to copy files (really all settings should be the same on both systems.) ...

Can I get Eclipse File Search to include ivyde jars?

The Eclipse File Search dialog doesn't seem to be playing nicely with my ivyde (2.0.0beta1) dependency jars. That is, my ivyde brings some-dep.jar/some-dep.zip (class/source), but I don't see any way to get my file search (ctrl+h search) to include these resources when searching for text -- so if MAGIC_FLAG appears only in the Magic clas...

How to hilight a section of a TableView cell as part of the filtering process?

The backstory: I am applying a filter to a TableView. It's a simple 'find the rows with this string' filter. The requirement: I wish to hilight instances of the search term where they occur. Thus far I can see no means of doing this. ITableColorProvider let's me apply colours to entire cells, but not to a fraction of it. Clues most w...

Eclipse buildpath automatically taking all JARs of a internal directory

How do I configure my project buildpath to have a set of .jar files located in the same directory automatically included in the buildpath ? Meaning that adding a new .jar file to this directory (and refreshing the project) updates the buildpath ? Rem : I am not working in a Webapp but in a standalone Java app. I know that it is possible ...

Compare and Contrast Java Module/Plugin mechanisms

There are several mechanisms for module/plugin mechanisms: JSR-277 (now defunct), Project Jigsaw OSGi Eclipse plugins (currently built on top of OSGi) Netbeans plugins Android apps Glassfish plugins (also the lesser used HK2 system) java.util.ServiceLoader ... your favourite ... Inspired by this dZone article, I had hoped that we co...

Eclipse getter/setter format

Does anyone know of an Eclipse plug-in or method to get Eclipse to generate getter/setters on one line like this: public String getAbc() { return abc; } Instead of public String getAbc() { return abc; } I'm on Eclipse v. 3.2.2. Thanks. ...

Is programming knowledge necessary for an user experience designer?

We have a user experience designer in our team who has no programming background. He is expected to design screens within Eclipse as a development environment. His (valid) complaint is that every time he designs a specific screen and gives it to development - they tell him what is not possible technically using either SWT or GEF. So, he ...

How to tell user events from synthetic events?

I have a JFace editor that is mostly made up of a TreeViewer. This is hooked up to a ContentOutlinePage to bring the Outline view to life. When either one receives a SelectionChangedEvent event they call the others setSelection() method ... and therein lies the problem. setSelection() generates another SelectionChangedEvent ... and thus...

Eclipse PHP IDE annoyance

This is such a petty little issue, but it annoys the heck out of me. I'm using Eclipse Version: 3.3.0 (Build id: I20070625-1500). In particular, PHPeclipse 1.2.0.200807121925PRD. So here's the issue, when I'm within an echo " "; statement (typing some markup within the quotation marks to output) and hit return, Eclipse automatically t...

Handling Tomcat in Eclipse: make it as easy as MyEclipse?

I have been using MyEclipse for a number of years. I am coming to the conclusion that I would rather ditch MyEclipse and revert to plain old Eclipse, except for one detail: MyEclipse's Tomcat integration. Does anyone know of an Eclipse plugin that would provide such integration? Here's what my current MyEclipse setup does, which I wou...

Search for usage of a class object with a given operator? [Eclipse]

For example, let's say I want to find all instances of using the == operator with any string object, so that I can replace it with .equals() instead. How can I do such a search? Otherwise I'd have to pick through all my code line-by-line... Thanks :) ...

Layout problems by FieldEditorPreferencePage

Hello, I have following problems with layout settings in the FieldEditorPreferencePage. My code is something like that: public void createFieldEditors () { Group pv = new group(getfieldEditorParent(), SWT.SHADOW_OUT); Group of = new group(getfieldEditorParent(), SWT.SHADOW_OUT); pv.setText(“pv”); of.setText(“of”...

Eclipse eye for a Visual Studio guy

Hello, trying to do some Android development, which means Eclipse, however, most of my experience is Microsoft tools (e.g. Visual Studio). My java experience is mostly either Blackberry dev in the JDE and some miscellaneous stuff back in the Java 1.0 days. My question is this. In VS200x, there is a .sln (solution), .csproj (project)...

Default value for -vm value in the eclipse.ini file

What's the default value for -vm in the eclipse.ini file?. If I don't set this value, where the system will look for this value. Thanks!. ...