VSCode Index Out Of Range On New Project (Unity 2019.3.0f6)

I installed the newest version of Unity 2019.3.0f6. As soon as I loaded Unity, I get this message in the console.

IndexOutOfRangeException: Index was outside the bounds of the array.
VSCodeEditor.ProjectGeneration.b__25_0 (System.String asset) (at Library/PackageCache/com.unity.ide.vscode@1.1.4/Editor/ProjectGeneration/ProjectGeneration.cs:175)

It has to do with v1.1.4 of Visual Studio Code. The code is way too complex for me. But I found an easy fix. Goto your package manager, and find “Visual Studio Code Editor”, click “See all versions” and update to v1.1.3. This fixes it.

Visual Studio Code v1.1.4 package says “2019.3 verified” but clearly it’s not.

You should downgrade to 1.1.3 version of VSCodeEditor.
Go to: Window → Package Manager → In Project → Visual Studio Code Editor (click left triangle) → See all versions → 1.1.3 → Update to 1.1.3.

For anyone that still arrives at this post: using 1.2.0 of the vscode package fixed it too for me.

Go to: Window → Package Manager → In Project → Visual Studio Code Editor (click left triangle) 1.2.0 → Update to 1.2.0.