This I found it surprisingly hard to Google: I want Eclipse to open Glade files with.. er.. Glade, and I don’t want to right click into
Open with... every single time.
What I immediately tried to do was to right-click on the file, go to
Properties and I expected to find some
Open with... option, you know, like in Ubuntu. At least I hoped to find a link to another menu entry, like there are several spread over Eclipse menus.
The right thing to do instead is to go to
Window/Preferences/General/Editors/File associations, pick the extension (or add it, as was my case) and add or edit the “editor” (which can actually be any application, as long as all it takes to open the file with it is to feed it the file name).
The same thing can be done to use Eclipse own editors, say you want to open XML files with a text editor instead of the structured one that Eclipse uses by default..