#5 objective c support

closed-fixed
nobody
filetypes (3)
5
2011-11-13
2011-06-23
Anonymous
No

This patch simply copies the objective c parser by Vincent Berthoux from ctags to the tagmanager and adds it as a new file-type (everything else just copied from the C type). I have no idea how complete that parser is but at least should make editing objective C code from geany a lot more pleasant than without any support and also a lot more pleasant than with XCode :)

One slight problem is how to make .h files parse as objective c - for now I'm just modifying filetype_extensions.conf to have them always be objective c but that's not quite optimal (C and C++ headers should preferably stay C/C++ instead).

Discussion


  • Anonymous
    2011-06-23

     
    Last edit: Anonymous 2013-10-23
    Attachments
    • status: open --> closed-fixed
     
  • Sorry for the long delay, but thanks for the patch, it is now committed (with a few fixes, nothing big) to Git.

    For the extension problem, there is not much we can do unless we can check for something reliable in the data itself (like a shebang or so). Otherwise the only thing to do is to let the user modify filetype_extensions.conf to fit her needs.