I don't know anything about vcpkg, but my vcpkg problems went away after running the command described here.If that doesn't help, try reporting the problem in the Embedded Tools repository.
VSCode For STM32 is based on Microsoft Embedded Tools and when it was announced, they wrote "Today our importer requires that you have the STM32CubeIDE software installed in the default location for your platform."Importing ST projects into Visual St...