Search code examples
pythonvisual-studio-codeparametersconfluent-kafka-python

How to get parameter hints in VSCode for pyd files in general and confluent_kafka specifically?


I am new to kafka, and trying work some basic examples via VScode. The problem is I can't seem to make parameter hints work at all for all the artefacts imported via confluent_kafka. The module itself is a wrapper, and I was wondering if there was a way to get parameter hinting the same way other python classes and modules work?

enter image description here


Solution

  • It's impossible. Because what you want was stored in the file of cimpl.cp39-win_amd64.pyd.

    The Language Server can not provide Intellisense from the file with pyd filename extension.

    You can have a look at the cimply with PyCharm, as it can decompilation it.