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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
https://github.com/cython/cython/wiki/enhancements-compilerdirectives
http://docs.cython.org/src/reference/compilation.html#compiler-directives
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.