[Github-comments] [geany/geany] Minor: Objective-C files (*.m) parsed as Matlab/Octave (*.m) (#1896)
Jonathan Bradley Whited
notifications at xxxxx
Fri Jul 13 19:03:49 UTC 2018
If you open up an Objective-C file with the ".m" extension, it will set the filetype to Matlab/Octave.
To fix it, you have to go to `Tools=>Configuration Files=>filetype_extensions.conf`. Then remove *.m from `Matlab/Octave=`.
To solve this, you'd have to check the code in the file, which I imagine would be a pain.
However, almost every Objective-C file will contain at least one `#import` or `#include`. You could probably just check if the file contains this.
I'm not sure which is more popular. If Matlab/Octave is more popular, then maybe it should be ahead of Objective-C files.
--
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/1896
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20180713/9fbdbd2f/attachment.html>
More information about the Github-comments
mailing list