-
Open your vscode and launch the command palette by ctrl + shift + p
-
Start the Extension Bisect
-
You can see a pop-up window like this
If your vscode works perfectly, select "Good now" However, if you see the error "Extension host terminated unexpectedly", select the "This is bad" option.
-
This program is a binary search algorithm which finds the extensions that cause the root problem and fix the issue that currently faces
Last active
April 9, 2022 19:08
-
-
Save naveenadi/1abc15ec1b40086d53b2f6f2548ef040 to your computer and use it in GitHub Desktop.
fix vs code extension problem in arch linux
Quick workaround:
Edit /usr/lib/code/product.json
:
Replace:
"extensionsGallery": {
"serviceUrl": "https://open-vsx.org/vscode/gallery",
"itemUrl": "https://open-vsx.org/vscode/item"
},
with:
"extensionsGallery": {
"serviceUrl": "https://marketplace.visualstudio.com/_apis/public/gallery",
"cacheUrl": "https://vscode.blob.core.windows.net/gallery/index",
"itemUrl": "https://marketplace.visualstudio.com/items"
},
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment