Closed GoogleCodeExporter closed 9 years ago
I second the request for Cython code editing, since Cython is becoming popular
recently.
As an easy first step on my local PyScripter, I simply added .pyx to the list
of Python source files. (Tools -> Options -> Export Highlighters. Add *.pyx to
the Highlighters\Python section. Then Tools -> Options -> Import Highlighters).
This is already much better but the Cython keywords are missing. (cdef, cpdef,
intern, struct, union, enum, ctypedef, void, double, public, inline, api,
nogil, gil, except, cimport, NULL, char, DEF, IF, ELSEIF, ELSE, readonly,
except?, include, bint, by, include).
It looks like the necessary change would be to SynHighlighterPython.pas...
Original comment by connelly...@gmail.com
on 23 Oct 2011 at 5:14
I am prepared to add, but since I am not using cython could you please provide
a full list of the changes to the Python highlighter needed and the file
extensions that contain cython?
Original comment by pyscripter
on 26 Oct 2011 at 12:26
The extensions are .pyx .pxd and .pxi
Unfortunately there doesn't seem to be any kind of official specifications. You
can look at this thread regarding the integration of cython to pydev
:http://groups.google.com/group/cython-users/browse_thread/thread/517bd7542923c1
e9?pli=1
In particular there's a link to the highligther configuration for Kate and
emacs.
Hope this helps.
Original comment by pachalm...@gmail.com
on 20 Dec 2011 at 2:00
Basic support for Cython added: Syntax Highlighting, File filters, file
template.
Code explorer, code completion, find defintion etc. work only for the
Python-like constructs.
Debugger support is not available nor is planned.
You may want to create External tool for the compilation and other processing
of Cython files.
Original comment by pyscripter
on 5 Mar 2012 at 1:17
Original issue reported on code.google.com by
pachalm...@gmail.com
on 2 Aug 2011 at 7:40