VScode Include paths for .h files?

I’m writing some C++ extensions and want my VSCode to be able to autocomplete but I cannot get it to find the needed headers.

In my include paths I have (the code is in a docker container):

  • /opt/conda/.../torch/include/torch/csrc/api/include
  • /opt/conda/.../torch/include/torch

This seems to make vscode able to detect the extension.h file but not it’s dependencies python.h. I am wondering if anyone has VSCode setup for this and could share all the include paths that they needed to work on pytorch extensions. Thank you!

EDIT: A bit further, I’ve got an extension running in Python and am also curious how I can set it up so that VSCode recognizes the Python import of my module!