I think it would be a great feature addition if Geany recognized Cython syntax and files. (http://cython.org/) (http://docs.cython.org/)
There is already a custom Cython filetype distributed with Geany.
Oh, there it is under "Programming Languages". Thanks!
However, when I open a *.pyx file that contains Cython directives, Geany never auto-detects the Cython script as Cython. Rather, the file is recognized as Python file.
Version 1.24.1 detects .pyx as Cython for me, colourises cdef etc. Have you modified filetype_extensions.conf?
I have not modified any file. I noticed that in /usr/share/geany (I use Ubuntu) that most file names are formatted "filetypes.cpp" (for C++), but the Cython file is "filetypes.Cython.conf".
You may want to add some Cython directives to the "filetypes.Cython.conf" for the mainstream Geany. Many, but not all, Cython files contain at least one directive.
Example: #cython: language_level=3, boundscheck=False
If it works for you, then this is probably some kind of weird problem with my system. I will make my own custom Geany config file for Cython to fix the problem. These files are in a simple format, so I will enjoy making my own color-schemes.
Thanks for your help and time. If you are fine with it, this bug report may be closed. After finding these config files, I am satisfied.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.