Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've decided to switch from Netbeans IDE to Eclipse PDT. I use FileZilla to edit files on FTP. I wish to use Eclipse PDT as default file editor for FileZilla.

I opened up FileZilla, went to Edit > Settings > File Editing and put /usr/bin/eclipseunder User custom editor radio, the way I had setup netbeans.

Now whenever I open any file for editing with FileZilla, a new instance of eclipse gets started. I want it to open as a new tab inside the already running instance of eclispe. I reckon there's some command line parameter that will get this done. But can't find it anywhere.

share|improve this question

1 Answer 1

up vote 5 down vote accepted

To accomplish this, you need to be using Eclipse 3.6 Helios or later, and you must add the --launcher.openFile switch when using it to open a file. So, change your text editor in FileZilla to:

/usr/bin/eclipse --launcher.openFile

More information is available on the Eclipse website.

share|improve this answer
    
Eclipse 6.2 !?! –  kapeels Jun 4 '11 at 7:11
    
@KPL: Sorry about that! I meant 3.6. –  Patches Jun 4 '11 at 7:37

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.