Useful or not, from you.
platformio-vscode-ide Intellisense Index Rebuild runs forever

Configuration

Operating system: Windows 10

PlatformIO Version (platformio --version): 5.0.2

Description of problem

Intellisense Index Rebuild runs forever whenever I add my private repo to lib_deps in the platformio.ini file. I only noticed this issue after upgrading to version 5.0.1 and 5.0.2. I don't remember what version I was running before the upgrade. This issue does not appear if my private repo is replaced with a public one. I'm signed into my github account in visual studio code.

Steps to Reproduce

  1. Create a new project
  2. Add a private repo to lib_deps in the platformio.ini file. (I have my private repo on github)
  3. Save the platformio.ini file

Actual Results

It says PlatformIO: Intellisense Index Rebuild and the icon on the left is spinning forever preventing me from building or uploading code.

Expected Results

Intellisense Index Rebuild to finish running in a timely manner.

If problems with PlatformIO Build System:

The content of platformio.ini:

; PlatformIO Project Configuration File
;
;   Build options: build flags, source filter
;   Upload options: custom upload port, speed and extra flags
;   Library options: dependencies, extra library storages
;   Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html

[env:nanoatmega328new]
platform = atmelavr
board = nanoatmega328new
framework = arduino
lib_deps =
    [git web url to my private repo]

Source file to reproduce issue:

#include <Arduino.h>

void setup() {
  // put your setup code here, to run once:
}

void loop() {
  // put your main code here, to run repeatedly:
}

Additional info

That's a useful answer
Without any help

Is there anything else I can try?