Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Since I have downloaded and installed the Eclipse PDT Indigo, I want to make it opens automatically files with .php extension.

Before Oneiric's release, simply right clicking on any .php file, selecting the Proprierties item, and entering "Open as" tab, gives the possibility to set an custom application command-line to open the file, but now it doesn't possible.

Because I downloaded the Eclipse's .tar.gz binaries and simply extracted to /usr/lib and created a symbolic link to /usr/bin, it doesn't appear on the list of applications supported, and I can't set a custom command-line, only find online an other.

So, I make a question: how do I make my Eclipse PDT opens automatically PHP files?

Tks for all.

share|improve this question
    
See this answer on how to add eclipse to the Application list –  Capt.Nemo Mar 29 '12 at 15:10

1 Answer 1

Hello I ran into the same issue. I solved it by using ubuntu-tweak. http://ubuntu-tweak.com/ the current version has a tab "Admins" and at the bottom there is "File Type Manager" select category "all" and browse to php script there you can add to link to "/usr/bin/eclipse"

share|improve this answer

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.