.tpl (template) files not formatted in Geany IDE

Asked by marxus

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

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu geany Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
marxus (mjaseo) said :
#1
Revision history for this message
Dominik Stadler (dominik-stadler) said :
#2

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) said :
#3

I am converting this to a question.

Revision history for this message
Dominik Stadler (dominik-stadler) said :
#4

The previous comment describes how to achieve this, does this answer your question?

Can you help with this problem?

Provide an answer of your own, or ask marxus for more information if necessary.

To post a message you must log in.