No autocompletion for cython packages and data types.

Answered

Two things are not working.

1. PyCharm not recongizing `cython.int` and simliar data types despite I did `import cython`.

I think this is because data types like `cython.int` is dynamically added in site-packages/cython.py.
I think PyCharm should support this data type by default..

Is there any way to do this?

2. When I type `from libc.stdio cimport printf`, PyCharm is not doing any autocompletion at all!
It doesn't recognize any cython packages and functions.

How can I enable PyCharm to recognize cython packages?

 

 I created PyCharm issue for this problem with some screenshots included.

 

1
1 comment

Unfortunately, both things are not possible with the current version of PyCharm. Meanwhile, the dev team is working closely on Cython support fixes and improvements in 2018.1 version, I hope those bugs will be solved as well.

0

Please sign in to leave a comment.