We usually do this to make changed to a CompilationUnit. Question is do we alway have to call becomeWorkingCopy and then followed by discardWorkingCopy to make any changes to the CompilationUnit?
ICompilationUnit testCU = findUnit();
testCU.becomeWorkingCopy();
// Do someting to testCU
testCU.discardWorkingCopy();
...
Hello,
I am using Zend Studio 7.2.0 for coding. When I create a PHP working set and add some folders to it, the PHP Explorer view displays the list of files in these folders, but not their subfolders. However, if I expand the desired subfolders in 'create working set' dialog -which are selected by default, they will appear in the PHP Ex...
I am experiencing an annoying problem with an Android project in Eclipse. All my other Android projects are okey (at the moment). Whenever I perform a clean (Menu:Project->Clean...) the project gives an error and I can't compile/run the app. The error is:
Project 'Project Name' is missing required source folder: 'gen'
As soon as I edit...
I annotated a method's parameters with a @NotNull annotation, which itself had the @Documented annotation.
I'm not seeing the parameter annotations displayed anywhere. In contrast, the annotations on the method itself are displayed.
Is there some way to make the annotations show up, ie. in the javadoc?
//test method
@NotNull Object fo...
I'm experimenting a strange issue developing Drag and Drop with GEF.
If I start a drag operation of a not yet selected element in a org.eclipse.gef.ui.parts.TreeViewer the selected element got from EditPartViewer.getSelectedEditPart() is different from the one obtained via the SWT Tree control (Tree.getSelection()).
This appens only wh...
Hi,
I am trying to create a information based application, I have 92 subjects, for these subjects I have 92 map locations and maybe as much as 400 url links. Currently I have created a class for each map location and a class for each url link, but this would mean I would have in excess of 500 classes, so what I want to do is split the ...
I added two private fields to my Java class.
Eclipse prompted me to automatically create a getter and setter for one of them.
How do I get it to do the same for the other one that it 'forgot' about?
...
When I run my web project in Eclipse, it publish the compiled class and html and jsp, etc.. to the webapps tomcat directory. But I couldn't find those files in the webapps directory of the tomcat that is set in eclipse configuration (CATALINA_HOME).
maybe it was hidden... umm no.. there aren't hidden files in the tomcat/webapps director...
I am having problem with my Eclipse PDT version. I keeps opening older version of a file until I close it and open it again.
So what is happening. I edit a file with Eclipse - test.php. I close it. Then I compare it (test.ph) with another one in WinMerge, save the changes and when I open the file again in Eclipse it is still the same as...
I've been using the jcraft Eclipse SFTP plugin for FTP manipulation for a few months. However I don't know how to delete an existing FTP account or edit details. If I misspell my username/password or I do change my password, my account stays the same forever.
Where are these details saved and how can I change details? Also, I do have on...
I hava a Java process that spawns a new JVM using ProcessBuilder etc. While debugging this, is it possible to have Eclipse attach a debugger to the new sub-process? Even better, is there any plugin that will do this automatically when it notices the new child process?
I'm told (though haven't seen) that VisualAge used to be able to do t...
I've wondered this a bunch of times. The answer that comes to mind is: there's no point since VS is so feature rich, but on the flip side, this the fact that something has already been done hasn't stopped people in the past.
...
hi,
im using eclipse 3.6.0, jdk 6, build target is android 2.2, i'm developing under windows 7.
im trying to fetch a xml file like the following:
SAXParserFactory spf = SAXParserFactory.newInstance();
try {
//get a new instance of parser
SAXParser sp = spf.newSAXParser();
//parse the file and also register this class for...
I am developing a set of eclipse plugins, and I have several JUnit plugin tests that actually start another instance of eclipse, create a mock workspace and a mock project and runs various operations on them. I want to put that on continuous integration and I am at loss as to where to start. I am using Hudson, would there be any plugins ...
in eclipse IDE how can i access a java class from .jsp
exactly like accessing a servlet from a jsp file ?
in other word, what should i replace with question marks "????????"
<form name="myForm" action="???????????????" method="post">
</form>
when i run engine.java file from "mypackage" package tomcat application servers shows this add...
In eclipse you can hit Ctrl+Shift+o to automatically import all the libraries you reference in your code. Is there any similar plugin for vim to have this feature with python?
...
I'm working on a program in Eclipse, outputting debugging information to 'clog'. I can not get clog or cerr output to show up in the console. Not only would I like to read this information, but I'm getting program hangs waiting on inserts to clog to finish.
I assume this is because no-one is pulling information from the stderr stream an...
I'm trying to write an Eclipse template which will create getters and setters when I create an attribute. My current template works, except for the camel casing for the getters and setters.
private ${type} ${field};
private ${type} get${field}() {return ${field};}
private void set${field}(${type} ${field}) {this.${field} =...
I'm looking for the most popupular eclipse plugins for rapid windowed application development.
Could you suggest the most widely used ones?
I think this question can help for a lot of people.
...
I have a dependency on clj-record in my CounterClockwise project. What's the best way to manage this? Copy the source code or compile to a JAR and add it as a referenced library?
...