GNOME Bugzilla – Bug 611535
.tpl (template) files not showing in file browser
Last modified: 2010-03-14 14:15:04 UTC
From Ubuntu Karmic marxus reported: ".tpl (template) files are not showing from gEdit file browser. Is there a way to fix this or it's a known bug?" ".tpl are file extension used in Smarty Templating Engine. I used gEdit as my editor/IDE in programming. Since File Browser Pane is not activate automatically from gEdit, I needed to enable it by going to Edit->Preferences->Plugin and then check File Browser Pane. From the file browser, I can browse all my web files (.php,.html,.css,.js) except .tpl files." Thanks! Launchpad ref: https://bugs.edge.launchpad.net/ubuntu/+source/gedit/+bug/488594
this is probably due to the fact that gio does not report them as "text" files, if you right click on the file browser and select filter->show binary they should be listed. To fix it properly the mime type database of freedesktop's shared-mime-info should report them as descendants of text/plain mime type.