Text editor for cython

1,676 views
Skip to first unread message

Neal Hughes

unread,
Sep 24, 2014, 6:35:46 AM9/24/14
to cython...@googlegroups.com
Curious what people use to edit their cython files.

I use Vim, which does syntax highlighting for all *.pyx, *.pyd files no problems.

But autocompletion tools like jedi-vim, only work for python. I know Pycharm has limited cython support as well.

Thoughts?

Neal

Stefan Behnel

unread,
Sep 24, 2014, 7:54:59 AM9/24/14
to cython...@googlegroups.com
Neal Hughes schrieb am 24.09.2014 um 12:35:
> Pycharm has limited cython support as well.

It's not all that limited. Besides syntax highlighting, it gives you
basically all IDE features from name lookups and auto-completion to
refactorings.

It still stumbles over a couple of syntax constructs that we added to
Cython somewhat more recently, but that doesn't really get in the way all
that much. It just marks stuff as an error that isn't, but that doesn't
break anything or so.

Stefan

Peter Schay

unread,
Sep 24, 2014, 8:57:51 PM9/24/14
to cython...@googlegroups.com
I'm using eclipse with the pydev extension.  In the past I was a minimalist and used sam (from Plan 9) and sometimes kate for my c projects requiring multiple files but now that computers are powerful enough to handle bloatware like eclipse it turns out eclipse is a very elegant and useful multiwindow source editor.  I use it purely as an editor.
Syntax highlighting for cython and python looks very nice.

 

Czarek Tomczak

unread,
Sep 25, 2014, 6:38:41 AM9/25/14
to cython...@googlegroups.com
I'm using Sublime Text:

Plugin for Cython syntax:

You can use CTags plugin for a better auto completion:

Pierrick Koch

unread,
Sep 25, 2014, 8:50:40 AM9/25/14
to cython...@googlegroups.com
Atom, GitHub's opensource editor seems an interesting alternative:
https://atom.io - https://atom.io/packages/script

Their Python support was converted[1] from the Python TextMate bundle[2]. [3]
I guess one could do the same with TextMate Cython bundle[4].

[1] https://atom.io/docs/latest/converting-a-text-mate-bundle
[2] https://github.com/textmate/python.tmbundle
[3] https://atom.io/packages/language-python
[4] http://svn.textmate.org/trunk/Review/Bundles/Cython.tmbundle

Cheers,

Pierrick Koch

unread,
Sep 25, 2014, 9:33:34 AM9/25/14
to cython...@googlegroups.com
On Thu, Sep 25, 2014 at 2:45 PM, Pierrick Koch <pierri...@gmail.com> wrote:
> Atom, GitHub's opensource editor seems an interesting alternative:
> https://atom.io - https://atom.io/packages/script
>
> Their Python support was converted[1] from the Python TextMate bundle[2]. [3]
> I guess one could do the same with TextMate Cython bundle[4].

Done: https://atom.io/packages/language-cython

Alex Shevtsov

unread,
Sep 25, 2014, 4:47:25 PM9/25/14
to cython...@googlegroups.com
 I am using Geany and am pretty happy with it. It is super simple and easy to customize.

See http://www.geany.org/ for more details. There are plenty of plugins for it as well.

Alex

ashwin .D

unread,
Apr 24, 2019, 9:55:07 AM4/24/19
to cython-users
I am using Emacs and while I get the Cython file identification in Emacs 25 on Ubuntu 18.04 I am constantly getting this error when I compile.

Expected an increase in indentation level. I have installed the Emacs specific el file. Bu it does not indent the code properly. Any suggestions ? I am unable to proceed further right now.
Reply all
Reply to author
Forward
0 new messages