vscode : how to fix "XHR Failed" when you open extension panel
When trying to install an extension in vscode, you get an error XHR Failed. like this issue:
please try this solution:
1) open file :
sudo subl /usr/share/applications/code.desktop
2) modify the Exec value with red argument and save the change :
Exec=/usr/share/code/code --unity-launch --ignore-certificate-errors %F
3) restart vscode via command in terminal window : code
4) click toolbar "Extension" button and check extension again,