Twitter github

Eclipse and File Associations

Lately there’s been a few questions on IRC about how to open editors on different file extensions. For example, if you had a .php5 file and your PHP editor only opened on .php, that can make you sad 🙁

Never fear, to add a file association with an editor is fairly easy in Eclipse. Simply open up the preferences and search for “File Assocations.” In there, add your file extension and choose your editor.