简体   繁体   中英

Sync: Error Logged In Console (Help menu > Toggle Developer Tools)

I want to sync my settings to VSCode using Sync extension. I have installed the extension, logged in to my github and selected the gist. Now when I try to Sync: Download Settings it throws the following error. Can someone help to sync my settings ?

Sync: Error Logged In Console (Help menu > Toggle Developer Tools).

Modify the extensionsGallery section of the product.json file in your VSCodium installation to use the VS Code Marketplace as shown below. However, note that it is not clear whether this is legal.

"extensionsGallery": {
    "serviceUrl": "https://marketplace.visualstudio.com/_apis/public/gallery",
    "itemUrl": "https://marketplace.visualstudio.com/items"
}

If you're a debian user try locate product.json In my case I found it in /usr/share/codium/resources/app/product.json Then edit this file

  1. Go to your gists
  2. Click on cloudsettings
  3. Click on Edit
  4. Find your stucked extension name from extensions.json and REMOVE those data

as like ---

{
  "metadata": {
    "id": "42e46dd6-3444-4b25-be5c-ddd5ecf2baa7",
    "publisherId": "ms-vscode.brackets-pack",
    "publisherDisplayName": "ms-vscode"
  },
  "name": "brackets-pack",
  "publisher": "ms-vscode",
  "version": "0.1.1"
},
  1. Update
  2. Then try to download again I hope it will work

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM