I have netbeans installed on ubuntu. In netbeans I can go file, open file, and then navigate to the type of file I want to open (in my case a .php file).
However if I go to a php file in a folder I cant get it to open with netbeans. If I right click and select open with other application, show other applications, then I dont have net beans in the list.
If I right click the file and go to properties, open with, then I have the same issue.