eclipse-3.4

In Eclipse, how do I replace a character by a new line?

て烟熏妆下的殇ゞ 提交于 2019-11-28 17:16:33
问题 In Eclipse 3.3.2, I would like to replace a character (say ',') by a new line in a file. What should I write in the "Replace with" box in order to do so ? EDIT : Many answers seems to be for Eclipse 3.4. Is there a solution for Eclipse 3.3.X ? 回答1: Check box 'Regular Expressions' and use '\R' in the 'Replace with' box It's a new feature introduced with Eclipse 3.4, See What's New in 3.4 回答2: Check box 'Regular Expressions' and use '\n' in the 'Replace with' box 回答3: Like the others said, just

Any tips on how to organize Eclipse environment on multiple monitors?

人走茶凉 提交于 2019-11-28 13:22:58
问题 I can't find a good way of putting Eclipse windows on two monitors. Currently I just detached (clicked on a header and dragged) a few windows to a secondary monitor (package explorer, console, and outline) while leaving primary monitor with maximized source editing window. It works pretty well except few annoying issues. Detached windows are not in focus while you are editing your code. Which means that, for example, last build shortcut ( Alt - Shift - X , Q ) doesn't work because it can't

Unrooted Tests

℡╲_俬逩灬. 提交于 2019-11-28 09:37:28
When running all my tests in Eclipse (Eclipse 3.4 'Ganymede'), one test is listed under "Unrooted Tests". I'm using Junit 3.8 and this particular test extends TestCase. I do not see any difference between this test and the other tests. I don't remember seeing this occur in Eclipse 3.3 (Europa). Clarification: We haven't moved to JUnit 4.0 yet, so we are not using annotations. I also googled and it seemed like most people were having issues with JUnit 4, but I did not see any solutions. At this point the test passes both locally and in CruiseControl so I'm not overly concerned, but curious.

A new version of Eclipse just came out. Is there anything I can do to avoid having to manually hunt down my plugins again?

不想你离开。 提交于 2019-11-28 06:51:38
Galileo came out the other day, and even though plugins under Eclipse are, IMO, just a little bit easier to deal with than Netbeans , it would still be really awesome if there was a simple way for me to upgrade to the new version (and take my plugins with me). Any tips? Not directly, AFAIK. Here is the closest thing I came up with, under the assumption that my old Eclipse is recent enough so that it uses a similar form of update manager (P2). In the old Eclipse, go to preferences->Install/Update->Available Software Sites. Pick the ones that are not built in (you will see a name for them, or at

Is Eclipse 3.4 (Ganymede) memory usage significantly higher than 3.2?

梦想与她 提交于 2019-11-28 04:36:48
问题 I was happily using Eclipse 3.2 (or as happy as one can be using Eclipse) when for a forgotten reason I decided to upgrade to 3.4. I'm primarily using PyDev, Aptana, and Subclipse, very little Java development. I've noticed 3.4 tends to really give my laptop a hernia compared to 3.2 (vista, core2duo, 2G). Is memory usage on 3.4 actually higher than on 3.2, and if so is there a way to reduce it? EDIT: I tried disabling plugins (I didn't have much enabled anyway) and used the jvm monitor; the

Automating unit tests (junit) for Eclipse Plugin development

喜欢而已 提交于 2019-11-28 04:25:06
I am developing Eclipse plugins, and I need to be able to automate the building and execution of the test suite for each plugin. (Using Junit) Test are working within Eclipse, and I can break the plugins into the actual plugin and a fragment plugin for unit testing as described here , here and in a couple places here . However, each of the approaches above results in the same issue: The java ant task/commandline command that issues the build or should trigger the test, generates no observable side effects, and returns the value "13". I've tried everything I can find, and I've learned a fair

Where to put the external jars? [duplicate]

浪尽此生 提交于 2019-11-28 04:18:51
This question already has an answer here: How to import a jar in Eclipse 7 answers I use Eclipse (3.4) and my class compiles without warning or errors. My project uses an external jar file. Where do I need to put this external jar file in order not to get a java.lang.NoClassDefFoundError when using this class from another project (not in Eclipse)? I could just extract the jar into the project folder, but that does not feel right. Edit: this question is not about importing jars in Eclipse, but using them outside of Eclipse. James Camfield If you're wanting to include a JAR file to your Eclipse

What is the Auto-Alignment Shortcut Key in Eclipse?

馋奶兔 提交于 2019-11-28 02:41:28
What is the auto-alignment shortcut key in Eclipse? Peter Perháč Ctrl + Shift + F to invoke the Auto Formatter Ctrl + I to indent the selected part (or all) of you code. Auto-alignment? Lawful good? If you mean formatting, then Ctrl + Shift + F . The answer that the OP accepted is wildly different from the question I thought was asked. I thought the OP wanted a way to auto-align = signs or + signs, similar to the tabularize plugin for vim. For this task, I found the Columns4Eclipse plugin to be just what I needed. Want to format it automatically when you save the file??? then Goto Window >

How Do I Automatically Generate A .jar File In An Eclipse Java Project

£可爱£侵袭症+ 提交于 2019-11-27 17:58:28
I have an Eclipse Java project. It contains a folder named "dist". In that folder is a .jar file. How can I set things up in this project to make sure this .jar file is updated any time one of the .java files in the project has been re-compiled? Thanks. Create an Ant file and tell Eclipse to build it. There are only two steps and each is easy with the step-by-step instructions below. Step 1 Create a build.xml file and add to package explorer: <?xml version="1.0" ?> <!-- Configuration of the Ant build system to generate a Jar file --> <project name="TestMain" default="CreateJar"> <target name=

View classes dependency graph plugin? [closed]

南笙酒味 提交于 2019-11-27 12:19:53
Is there any plugins I can use for Eclipse that will show graphical view of classes dependencies? VonC Classycle can be a good start (for static dependencies between classes at least) (I find their graph a bit complicated to follow though : CDA - Class Dependency Analyzer is an external tool, but produce much more readable dependency graphs) stan4j : Free for private use For commercial use requires license Video on homepage does a good job of demoing features For a more in-depth analysis, check out nWire . I find ispace => http://ispace.stribor.de/ ideal for showing circular dependencies etc.