This package provides a helper method for a Conan project's conanfile.py to update the Visual Studio Code C++ Tools plugin after installing dependencies, so that Intellisense finds the installed paths
https://pypi.org/project/parktoma-vscconan/
Install using pip:
pip install parktoma-vscconan
Use a conanfile.py instead of conanfile.txt to define your project dependencies.
Then, in your class, add an event handler for imports
:
#...
from parktoma.vscconan import update_cpp_tools
class MyProject(ConanFile):
#...
def imports(self):
update_cpp_tools(self, conanfile_path=__file__)
Then, run conan install
. c_cpp_properties.json should be updated and Intellisense should find your dependencies.