Reputation: 849
I installed Eclipse and successfully imported my project. The problem is now when I click on any file, it opens in Geany (the default editor of my Ubuntu). I tried to change the Open with
option but get the same result. How do I fix this?
Upvotes: 12
Views: 12413
Reputation: 481
I set my File Associations and that was not enough to make double clicking open the correct editor. I also had to add *.jsp as a Text mapping under Content Types. I also had to select each file that had a previous mapping and select Open With... => Default Editor.
After setting 1) the File Association; 2) Content Type and 3) Default Editor for each file, double click opens it in the editor I want.
Upvotes: 0
Reputation: 2232
You can change the associated editor for given file type by navigating to
Preferences -> General -> Editors -> File Associations
Upvotes: 16