[Github-comments] [geany/geany] Objective-C files always detected as Matlab/Octave (#2341)
Will Brokenbourgh
notifications at xxxxx
Mon Oct 7 04:34:53 UTC 2019
I have copied the system `filetype_extensions.conf` to the `~/.config/geany` directory and changed Matlab/Octave's file extension definition to `*.matlab` from `*.m` but Geany is still detecting `*.m` files as Matlab/Octave. I did the 'Reload configuration' menu item and even quit Geany, then launched it again and it still detects Objective-C files as `Matlab/Octave`.
I also tried renaming `filetype_extensions.conf` to `~filetype_extensions.conf~` in Geany's 'system' directory and this is still happening.
**System Info** ℹ️
* macOS 10.14.6
* Geany 1.36 from Geany website (not MacPorts)
`~/.config/geany/filetype_extensions.conf` **relevant section**
```
Matlab/Octave=*.matlab;
Nim=*.nim;
NSIS=*.nsi;*.nsh;
Objective-C=*.m;*.mm;*.h;
```
**Debug messages**
```
21:01:59: Geany INFO : Geany 1.36, en_US.UTF-8
21:01:59: Geany INFO : GTK 2.24.32, GLib 2.60.6
21:01:59: Geany INFO : System data dir: /Applications/Geany.app/Contents/Resources/share/geany
21:01:59: Geany INFO : User config dir: /Users/will/.config/geany
21:02:00: Geany INFO : System plugin path: /Applications/Geany.app/Contents/Resources/lib/geany
21:02:00: Geany INFO : Added filetype Clojure (61).
21:02:00: Geany INFO : Added filetype Swift (62).
21:02:00: Geany INFO : Added filetype Graphviz (63).
21:02:00: Geany INFO : Added filetype Nim (64).
21:02:00: Geany INFO : Added filetype Arduino (65).
21:02:00: Geany INFO : Added filetype Genie (66).
21:02:00: Geany INFO : Added filetype Cython (67).
21:02:00: Geany INFO : Added filetype TypeScript (68).
21:02:00: Geany INFO : Added filetype Groovy (69).
21:02:00: Geany INFO : Added filetype Kotlin (70).
21:02:00: Geany INFO : Added filetype Scala (71).
21:02:00: Geany INFO : Added filetype JSON (72).
21:02:00: Geany INFO : Added filetype CUDA (73).
21:02:00: GLib-GIO DEBUG : _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
21:02:00: Geany INFO : Disabling terminal support
21:02:00: Geany INFO : Loaded /Applications/Geany.app/Contents/Resources/share/geany/tags/std99.c.tags (C), 1618 symbol(s).
21:02:00: Geany INFO : /Users/will/Projects/libvncserver-git/libvncserver/libvncclient/vncviewer.c : C (UTF-8)
21:02:00: Geany INFO : /Users/will/Projects/NiblessCocoApp/My Nibless App.app/Contents/MacOS/Makefile : Make (UTF-8)
21:02:00: Geany INFO : /Users/will/Projects/NiblessCocoApp/My Nibless App.app/Contents/MacOS/main.m : Matlab/Octave (UTF-8)
21:02:00: Geany INFO : /Users/will/.config/geany/filetype_extensions.conf : Conf (UTF-8)
21:02:46: GLib DEBUG : posix_spawn avoided (automatic reaping requested) (fd close requested)
21:07:38: GLib DEBUG : posix_spawn avoided (automatic reaping requested) (fd close requested)
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2341
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20191006/3affc0db/attachment-0001.html>
More information about the Github-comments
mailing list