Installing libraries not from the library manager

Found the way:

  1. pay attention what is installation instruction for library on its documentation page:

  2. if it is mentioned as: “hg …” - you will need an hg client installed in your system. Client installation instructions here:
    Download - Mercurial

  3. launch VSCode + PlatformIO
    start the PIO terminal and type the following command:
    platformio lib -g install TextLCD - Updated for more display types. Fixed memoryaddr… | Mbed
    or:
    platformio lib -g install “http-address of target library on mbed-forum”

  4. Try to compile