I use Arduino support in VS code and I don't have any problem with libraries.
First, you need a regular Arduino installation to use Arduino VS extension . And you have to install a library in your Arduino libraries folder.
Perhaps it is the issue.
You must install the libraries in Arduino libraries folder, not in workspace