halbux / sparselizard-users

Open area for user contributions
11 stars 8 forks source link

Intellisense (pylance) is not working with Spylizard #5

Open catkira opened 2 years ago

catkira commented 2 years ago

Pylance does not look into binary modules, therefore intellisense is not working. It is recommended to create stub .pyi files for binary modules so that intelli sense works. https://github.com/microsoft/pylance-release/issues/242

This tools seems to do the job https://github.com/sizmailov/pybind11-stubgen , but I havent tested it yet.