'VSCode hangs every time I open yarn.lock file

We started using latest yarn workspaces in our project. Since then every time I open (accidentally) yarn.lock file, VSCode hangs.

I tried closing folder, restarting VSCode but it always comes up.

VSCode Hangs



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source