VSCode IntelliSense and LDF not synced with platformio.ini

I added a library to the lib_deps option in my configuration file. It downloaded and installed successfully, but when building a project it couldn’t find a header file from library and also it didn’t update intelliSense paths.

I believe this is a bug, since it happened to me several times that including libraries via lib_deps didn’t work.
Also inside the installed library (BSP_DISCO_F746NG) there is one library.json file and another .library.json - is this normal?

Ok, I just came across the answer about two library.json files:

And I figured out that it didn’t work because the library wasn’t compatible with my framework.
I fixed that by adding lib_compat_mode = off into my configuration file.

Sorry for bothering! :slight_smile: