ktnrg45 / vs-code-cython

VS Code Language Extension for Cython
MIT License
43 stars 3 forks source link

includePath doesnt work #17

Closed sggpls closed 1 year ago

sggpls commented 1 year ago

Hello, I have a ton of headers in include directory with main .pxd header with imports and one main .pyx file. And extension doesnt see any thing inside main .pyx file and cant move to definition. Only if I move all headers to the root around main .pyx file. includePath option seems doesnt work.

ktnrg45 commented 1 year ago

Hi, so just to clarify, is your directory structure like this?

root/main.pyx root/include/main.pxd root/include/other.pxd

sggpls commented 1 year ago

hello, yes, u r right.

ktnrg45 commented 1 year ago

This should be fixed now.

sggpls commented 1 year ago

Sorry, may be i don't understand how to add it, but it still doesn't work. I added paths using Setting/Extentions/Cython/includePath inside IDE, tried create .vscode/pyrightconfig.json with includes, also tried reinstall package with edited package.json where i write inludePath by my hands - still not working...