eclipse

How do I disable the formatting symbols in eclipse?

I actually can't see anything because of all the formatting symbols. I have no idea what hotkey that was but I can't find any solution how to disable those symbols. Have you any idea if there is a hotkey? I can't remember what that hotkey was ... ...

Why aren't my Resources being refreshed in my Eclipse plugin?

I have a custom Eclipse plugin I am working on. It has a CustomerExplorer View(Part) that effectively replaces the 'Project Explorer' and it has a number of MultiPageEditorParts, each has a XML editor and a Form editor, both modifying the same configuration file. The XML editor is a TextEditor. The form and the XML are linked and each up...

C++/Eclipse CDT code completion problem (Wascana,mingw)

Hi, I've a problem with my CDT. Code completion doesn't work for standard library classes. For example in this code after entering x. and presing ctrl+space IDE doesn't display the list of API elements. #include void f() { string x = "sss"; x. } String and vector header files are available in Includes directories. When I press ...

Eclipse: Pass data between IMarker and IMarkerResolution

What is the established way to pass some data — more than int, boolean, String because those can be handled as marker attributes — from the class that creates an IMarker to an IMarkerResolution so that the quick fix can be "smart" about what it displays/does? ...

How to apply fomatter and template settings to multiple projects in Eclipse?

I have various interrelated projects in my Eclipse Helios workspace. Some projects use the Java standard coding style with no license header. Some others use similar coding style with 3-space indentation with LGPL 2.1 license header. Some others use tab indentation with Apache License 2 header. They all do not store Eclipse project s...

Auto-upload on save

I'm delveloping a PHP web application on my local PC. Whenever I save a file it would be handy if Eclipse could upload the file to my web server via FTP. Is Eclipse able to do that?? I think Netbeans offers such an option. At the moment I do the upload manually which is very annoying... ...

eclipse, export multiple projects (using a shared binary directory) in one runnable jar

I have three projects which are build to the same /bin directory and anoher projects (let's call it A) where this is not necessary. A requires all the other projects. When I export A as a runnable JAR, then only one of the three projects makes it into the JAR. I can add other projects (build to different directories) which are copied in...

eclipse - regex: replace multiple group

someText 1 2 3 4 moreText I would like to add a prefix before each digit. but using (\w+\R)(\d+\R)+(\w+) and \1prefix\2\3 will only prefix the last digit and erase the others. Is there a way to do it with a single regex or should i write a script on the side? ...

Which Eclipse IDE version to choose?

How do I find which Eclipse version I have on my Ubuntu system? This is what "About Eclipse SDK" says. Eclipse SDK Version: 3.5.2 Build id: M20100211-1343 I am not sure if its the Eclipse IDE for Java Developers or the Eclipse Classic version. What I would like to do is use Eclipse for Java based Web Application Dev...

Hot code replace no longer working in Eclipse for Groovy?

Hot code replace is no longer working for me in Eclipse for Groovy. I have a project with a mix of Groovy and Java files. This morning hot code replace worked, but now it doesn't work for Groovy. It still works for Java files. I'm not sure what the difference is that made it stop working. Any suggestions? ...

Java - Human playable Server/Client Multiplayer

Hello! I'm currently trying to implement the game of Nim using Java, I want to be able to have one player act as the server and another as the player. I'm fairly new to Java networking and have only had experience using basic TCP/IP where the human client connects to a computer host. The trouble I'm having is that I need to be able to...

Developing Android with other IDE rather than Eclipse

Hi all I want to start Android development but I just don't like Eclipse. (Yes, I am picky. lol) Is there any other good IDE rather than Eclipse that really WORKS with Android SDK? (QT maybe?) Thanks in advance Ignacio UPDATE: I am on Mac OS X. Is there any plugin for Xcode that makes the trick of linking Android SDK with it? ...

How to debug Flex application under maven

I develop Flex-Java applications which is running under Apache Tomcat. I use Flex Builder plug-in for Eclipse as my IDE. My application consists of several libraries and modules. I manage all of them as a small maven (flex-mojos) projects. Does anybody can share some ideas how to setup robust debuging enviroment? ...

Filter Eclipse's "Open Call Hierarchy" to just my company/project

One of my favorite features of Eclipse is the ability to open a caller/callee hierarchy of a method. By default, the view shows calls to/from classes that are outside of my codebase... which I don't usually care about. There is an option to filter out specific package names I don't want, but I need to do the opposite... to filter out a...

What are the best tips & tricks you use with Eclipse PDT

There are a couple of similar threads here, but most of the other tips don't work on PDT so let's make this one specific to Eclipse PDT for PHP. I'll start (w/ credit to those that work from other the other threads): CTRL-SPACE = code completion CMD-/ = auto comment CMD-SHIFT-L = key assist If autocomplete isn't working righ...

Question about jrat profiling

Hi, I am working on a code which runs as a service. Basically it listens for input and produce output accordingly. I am trying to profile a package using jrat. [We do not have a licence for Jprofiler and I couldnt set up the trial version to work properly]. I followed the instructions here: http://transferer.blogspot.com/2009/12/how...

[Eclipse] Windows path separator not getting converted to linux path separator

I am using Eclipse 3.6 on Linux and wants to convert the Windows specific path ("src\Test.java") to Linux path ("src/Test.java"). I tried to convert this by the following method IPath path = new Path("src\\Test.java"); String result = path.toOSString(); But I am getting the result as "src\Test.java" whereas I expected "src/Test.java"....

Prevent eclipse from auto import packages when copying source code between projects

Is it possible to prevent eclipse from automatically improrting any modules when I copy source code from one project to another. I just want to copy the source code and then rename all the specic classes, I don't actually want to use the classes from the other project. ...

Programmatically generating pom.xml

Hi all, I am creating a new maven project from an eclipse plugin. As it seems to me a bad idea to hardcode pom.xml to my plugin. Is there any way to generate this programmatically such that the plugin will be more maintainable ? Also creating the maven project structure from the plugin on my own seems to be a bad idea too ! Is there an...

Eclipse won't start a new Android project anymore

A few weeks ago, I followed a tutorial to get Eclipse and the Android Development Kit up and running. I successfully built the test application and ran it on a virtual device. Tonight I finally went back to do the next step in the tutorial, but when I went to start a new project there wasn't an option to start a new Android project. Eve...