I often use cython either to speed up some computations or to call C code directly. Currently spyder provides syntax highlighting only, but other thinks would be interesting and not too complicated:
cdef and cpdef should be recognized as function definitions in the highlighter. cdef is ambiguous (see below) but cpdef is not.
validate cython files by running cython and checking for error, like pyflakes does for cython files (only .pyx -> .c, not actually compiling the c file because it's quite slow)
integration into the outline explorer. That can be tricky because the cdef keyword can be used for variables, classes, functions and methods.
From contrebasse on 2014-07-19T16:57:29Z
Spyder Version: 2.3.0 Python Version: 2.7.6 Qt Version : 4.8.6, PyQt4 (API v2) 4.10.4 on Windows pyflakes >=0.5.0: 0.8.1 (OK) pep8 >=0.6 : 1.5.6 (OK) IPython >=0.13 : 2.1.0 (OK) pygments >=1.6 : 1.6 (OK) sphinx >=0.6.6 : 1.2.2 (OK) psutil >=0.3 : 1.2.1 (OK) rope >=0.9.2 : 0.9.4 (OK) matplotlib >=1.0: 1.3.1 (OK) sympy >=0.7.0 : 0.7.5 (OK) pylint >=0.25 : None (NOK)
I often use cython either to speed up some computations or to call C code directly. Currently spyder provides syntax highlighting only, but other thinks would be interesting and not too complicated:
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1899