It is possible to implement the refactoring by using Eclipse library (JDT,LTK) without involving of the wizards. I would like to get benefit from refactoring feature of eclipse but I wan't to provide input for refactoring by other ways (that is not entering in the wizard) such as reading from file, etc.
If possible , Please suggest me h...
When I run an Ant build, MyEclipse (happens for v6.0 and 7.5) formats my code. When I open the file it says it was modified on the file system and when I reload it it is formatted.
The thing that is even stranger is that it is not formatted as specified in the Code Style in my Preferences (seems like Java Sun codding rules).
As far as ...
Hey, this is my first time using Eclipse, and my first time programming in a linux environment. So I might end up posting some semi-usless information, but I'm just trying to give what ever details I can.
The Issue: I'm trying to build a project, and I'm getting the following errors and warnings.
The Question: What would I have to do, ...
I've loaded a C++ project into Eclipse (Europa) and I'm familiarizing myself with the CDT interface.
There is one particularly annoying error message for the following line:
#include "somedir/somefile.h"
somedir/somefile.h: No such file or directory
The include file exists in "/opt/local/project/include/somedir/somefile.h".
Under P...
Hi!
I generally have my working projects sitting on folders on my Desktop. When they are completed I just move them to a c:\dev\. The thing is I'm doing it in a rather archaic way.
1. move project files
2. delete project on eclipse
3. create new project on eclipse on the new location
How to you guys move projects around?
If I could ...
You know how in Eclipse's Preferences window (menu bar: Window --> Preferences), you have a hierarchy to browse, but you also have a text search field. And as you type into that search field, the hierarchy is filtered to show only entries matching what you typed?
I would love to see the same feature in the Package Explorer tab.
I have...
Right now we have .target and .launch files in eclipse that point to specific hard-coded locations. How do I introduce new variables and assign them in eclipse, variables that are local to each developer.
Here is an example. I want to set up a projectlocation variable, but don't know where to set it:
<?xml version="1.0" encoding="UTF...
I have a workspace with a dynamic web project in it. When I try to copy and paste the project into the same workspace, eclipse asks for the name of the new project, then it copies the files.
The problem I have is that when I deploy this project to the server it gets deployed with the original name and not the new name.
It looks like ec...
I'm using eclipse to work on a project with portions written in Java, C, Perl, and bash. Which version of eclipse should I get for this? I'm currently using 3.5-CDT+perl-plugin and would really like better Java handling with out loosing the C. What plugin should i add for java?
How does Eclipse handle multi-language projects? when I hi...
I started a new project this afternoon and now that I've decided to write some comments, the javadocs are acting weird. I've tried resetting the perspective, but no dice. Any tips to solve this?
...
Eclipse autocomplete is not working and is always telling me merely "No Default Proposals".
This is true whether I try to autocomplete for code under java.util or in my own project.
I'm running Eclipse 3.5.2 on Lucid Lynx using java-6-openjdk.
Any ideas?
...
In eclipse when you set up a .target file, you must press the link "set as target platform" (see this link for example: http://grab.by/5TO1) or the change seems to have no effect. What I want to do is have the build generate the target file (it's just an XML file). But I don't know how to tell eclipse to take the change.
This is als...
I have an eclipse workspace folder. I want to store all the different projects I am working on over here. Now I am working on a PHP project and have WAMP installed. Is there some way to configure eclipse such that it outputs my project files to the server's www folder.
I don't want to create my workspace in the server's www folder, for ...
My question can be split into three:
Is it possible to hide/remove arbitrary context menu items in Eclipse (3.6) by ...
standard UI?
some existing plug-in?
custom plug-in?
I failed to find ways to do this by methods 1 and 2. If the only option is creating custom plug-in, could anyone push me towards the right direction where to star...
I have a class A and B.M extends A. Now I want a create a constructor of B using code generation option of eclipse which accepts parameters and set values of all fields of B (I mean it should also set fields inherited from A).
Is there any shortcut to generate such code in eclipse?
...
I have a Java application running Win 7 connecting to MySQL on the same host. Eclipse IDE shows the following error every time after 8-10mins.
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
at com.mysql.jdbc.SQLError.createCommunicationsException...
I've built mingw32 for Linux and would like to use it with Eclipse IDE. However, the CDT plugin uses some predefined way to auto-detect toolchains (which, for mingw, seems to only work for Windows) and doesn't have a way to locate them manually. Is there any way to make it detect mingw under Linux?
...
While developing for Android, I am unable to open more than one main.xml file in an Eclipse editor at a time. Each time I open one, it simply replaces the editor (tab) of the first main.xml with the new one, instead of opening a new tab - even if the contents of the existing tab were unsaved!
Even stranger, I can open multiple main.xml...
In VS, you can 'Watch' an object and drill down into it. Is there an equivalent when programming Java in Eclipse?
...
On Windows XP I've installed Eclipse CDT. I've installed cygwin including make, gcc, g++, and gdb. I've added C:\cygwin\bin to the windows path variable.
When I create the default HelloWorld project in Eclipse and try to build, I get the following text in the console:
make all
make: echo: Command not found
make: * [src/...