[Geany] filetype_extensions.conf not being read?

daspostloch daspostloch at xxxxx
Tue Aug 14 15:26:12 UTC 2012


on my setup, filetype_extensions.conf seems not to get honored.

An example: editing


to hold


, that is, moving the *.conf from Conf to C++, does not result
in .conf files be treated as C++ files. This is only for illustration,
my actual problem is that I want my .h files to be recognized as C++
rather than pure C, and then I discovered that nothing in
filetype_extensions.conf seems to get read/honored.

Funnily enough, copying filetype_extensions.conf to the subdirectory
~/.config/geany/filedefs results in that file itself being now
recognized as a C++ file. However, no other .conf files are, and
it also does not work if I move a .h file in that folder with .h
only declared as belonging to C++ (not C or Objective-C), for example.

Any ideas what else to try / how to debug? I've restarted geany.

Thanks! -Paul

  > geany --version
geany 1.22 (built on Jun 18 2012 with GTK 2.24.10, GLib 2.32.3)

  > uname -a
Linux host 3.4.7-1-ARCH #1 SMP PREEMPT Sun Jul 29 22:02:56 CEST 2012 
x86_64 GNU/Linux

More information about the Users mailing list