eclipse

How to place $NON-NLS-1$ kind of comments in eclipse

I have realized that through eclipse source code there are a lot of comments like this one, I know they are for instructing eclipse that the strings in these lines aren´t supposed to be internationalizable, and I would like if I can place that kind of single line comments using eclipse code completion assistant. private String toolTip =...

what's the keyboard shortcut to toggle breakpoint in pydev using eclipse

I think i'm missing the elephant in the room but for the life of me i can't find the keyboard shortcut to setting a breakpoint in eclipse when using the pydev plugin. Things that i've already tried: Ctrl-Shift-B: does nothing. Ctrl-F10: brings up the breakpoint context menu where you can select to add breakpoint, remove etc... i don't...

Proper Syntax highlighting with Eclipse + WDT + Javascript 1.7+

Is it possible to make the Eclipse-Javscript-Editor recognise Mozillas JS 1.7 constructs and do the syntax highlighting properly? Examples: "let", "for each", "yield" are not highlighted No support for E4X I'm using an updated Helios + WDT-Plugin and I can't choose a different validator than ECMAScript3. I tried to find some inform...

Android - Looking for help with force close on application.

I am using Eclipse to write the program. I have gotten rid of the errors, and have completely compiled the code and when it launches in the emulator, it forces close. I have zipped the workspace so maybe someone can grab it and load it to see if they are able to see why its bombing out? deckertdesigns.com/Android/Todo_List.zip any help ...

Android - Button Question

I finally got my image button to work within an ImageView, and after I press it, it works, but imnmediately after, it stops running and I get the error message to close it. I added the onClick and focused it in the XML so that it will work within an imageview, but that's all I got. The button in the /drawable folder is the imagebutton se...

Move app to phone

Hi, yesterday I posted the question ‘How do I convert eclipse app for phone?’ I have used eclipse to design an android app which runs fine on the emulator and I now want to transfer it to my phone. Sixten Otto kindly offered some advice regarding how to test/debug my app on my phone straight from Eclipse's Run menu. (See Developing on a...

Flaky Eclipse Auto-complete?

It seems that eclipse has always had some flaky auto-complete functionality. I'm now using Helios and still have trouble with eclipse refusing to offer auto-complete on some common tags in PHP. It's really hard to guess when the auto-complete will work as it seems to change it's mind and work on/off at it's own will. Is there something ...

GCC C++ Linker section on FC13

I am trying to get OpenGL and Glut running on Eclipse Linux FC13. After spending two days on it, I admit that help is needed. On FC13 Eclipse, I see /usr/include/GL and /usr/include/SDL -- so the libs are there. I started Eclipse, and then tried to run a simple program on it, just like suggested here. However, two things were missing in...

Use cyrillic .properties file in eclipse project

Hello! I'm developing a small project and I'd like to use internationalization for it. The problem is that when I try to use .properties file with cyrillic symbols inside, the text is displayed as rubbish. When I hard-code the strings it's displayed just fine. Here is my code: ResourceBundle labels = ResourceBundle.getBundle("Labels"...

Absolute to relative path (Eclipse, JSP)

I am making a web application in Eclipse (JSP) and use Tomcat as a server (integrated into Eclipse). I have to create the object below and specify the path to configuration file. This absolute path is working great: Store store = StoreFactory.create("file:///C:/Users/Aliens/workspace/myProject/WebContent/config/sdb.ttl"); However I am w...

How to add a project to a existing EAR in eclipse?

How can I add a new java project to a existing EAR in eclipse? I used project references, but it's not working. ...

How do you search and replace anything beyond an equal sign

We have a property file (name, value key pairs) and would like to replace everything beyond the equal sign = with nothing. How do I do that? label.one=One label.two=Two Post replacement, I would want label.one= label.two= ...

CVS Branch in Eclipse History View

I'm on a project where we're using a lot of branches. The eclipse History tab has columns for Revision, Tags, Author Comment, and Revision Time. There's no column to indicate the branch a commit is against. Now I can work this out sometimes by finding which revision a branch was branched from, but this is painfully slow sometimes, and so...

java eclipse iterator debugger problem

hello, [edit: I forgot to mention that it is a JUnit Test Case i am debugging. Is that a problem?] i have a really strange problem in eclipse. (I am new to debugging in eclipse so post all what is in your mind...) When i am at a certain line it just stops to go further in the code. It remains in the same line although i am pressing F6...

JavaDoc editor for Eclipse to create formatted text

im looking for a small plugin which let me create formated javadoc. at the moment im doing it with word (or http://tinymce.moxiecode.com/examples/full.php ) and save the text as a html file which then can be used but i think there must be a easier solution to create nice looking java doc.. ...

Using GEF vs ZEST to draw a graph?

ZEST was included in the GEF library. I am a bit confused about when to use GEF and when to use GEF. I would like to know when using GEF is better than using ZEST, and the other way around? ...

Eclipse 'Anonymous Inner Type' - autocomplete

Hello everyone, Sometimes I tend using autocomplete from eclipse (3.5) for anonymous inner types. For some reason eclipse always puts ending-parenthesis and semicolon in wrong order. A small example: button.addActionListener( new Act... ) // <-- Pressing Autocomplete (strg+space) results in: button.addActionListener( new ActionListe...

Eclipse Plugin to Handle a particular file self defined.

I'm trying to find out how much effort it would be to create a Eclipse Plugin which can handle the editing of a particular file (our own format where the result might be XML). So i only need to do some editing stuff in the plugin. Drop-Down Boxes and some other fields might be interessting. I've seen something like this in the Maven Ecli...

Why eclipse plugin doesnt start - log ?

I have plugin that doesnt start(from dropins, with eclipse -clean), however its not even mentioned in workspace\.metadata\.log Is there any log that says why plugin doesnt start? I think the problem is that too new API is used. ...

Auth problem with Egit and Github

I've installed Egit plugin at Eclipse Helios and i'm trying to use it with my github account, but when i try to configure it i get an "Auth Failed" error. I'd been googling it but no luck... it seems to be a problem with my passphrase but AFAIK Egit is looking at the right place (/home/user/.ssh/id_rsa) and i've no problem in connect by...