.tpl (template) files not formatted in Geany IDE

Bug #488592 reported by marxus

This bug report was converted into a question: question #91805: .tpl (template) files not formatted in Geany IDE.

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
geany (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: geany

.tpl (template) files are not automatically formatted using Geany. To acquire desired format, I still need to do it manually from Documents -> Set FileType -> Scripting Language -> PHP Source file or Markup Language -> HTML Source file. Is there a way to automate the file recogniton and formatting? or its a known bug..thanks

ProblemType: Bug
Architecture: i386
Date: Thu Nov 26 13:15:50 2009
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
NonfreeKernelModules: nvidia
Package: geany 0.18-1 [modified: usr/share/geany/filetype_extensions.conf]
ProcEnviron:
 LANG=en_PH.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-15.50-generic
SourcePackage: geany
Uname: Linux 2.6.31-15-generic i686

Revision history for this message
marxus (mjaseo) wrote :
Revision history for this message
Dominik Stadler (dominik-stadler) wrote :

You can easily change this locally by going to "Tools" -> "Configuration Files" -> "filetype_extensions.conf" and adding the text "*.tpl;" to the PHP-line. After saving this config-file, Geany should recognize the filetype correctly automatically.

If you think this should be made permanent in Geany, please report a bug for Geany itself at http://www.geany.org/Support/Bugs.

Revision history for this message
Dominik Stadler (dominik-stadler) wrote :

I am converting this to a question.

Changed in geany (Ubuntu):
status: New → Invalid
Revision history for this message
marxus (mjaseo) wrote :

Thanks it's fixed now..I just did what you suggested, but the changes doesn't applied right away, it took a lot of open/close activity before the changes were applied. Anyway, thanks and it works now. One more thing is, how could I create new file/folder from the sidebar? I don't see anyway to do it from there..

Revision history for this message
Dominik Stadler (dominik-stadler) wrote :

I think that is currently not supported, maybe you can also suggest this as "bug/feature" at http://www.geany.org/Support/Bugs

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.