When the extension stuck in installing restarting Vscode did not work for me and I could not go to the setting of that extension to disable it. But I found this method: One of the other methods is to disable this extension(while it is stuck in installation) with this option:
Ctrl+Shift+X to see list of extensions. (Here you should see that specific extension says installing)Show Running Extensions
It opens a new page listing all extensions so you can uninstall that extension with right click.
disable all extensions option in Step 2 and then enable it.It will solve the problem.