简体   繁体   English

同步:控制台登录错误(帮助菜单 > 切换开发者工具)

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

I want to sync my settings to VSCode using Sync extension.我想使用同步扩展将我的设置同步到 VSCode。 I have installed the extension, logged in to my github and selected the gist.我已经安装了扩展,登录到我的 github 并选择了要点。 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.修改 VSCodium 安装中product.json文件的extensionsGallery部分以使用 VS Code Marketplace,如下所示。 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如果您是 debian 用户,请尝试locate product.json在我的情况下,我在/usr/share/codium/resources/app/product.json找到它然后编辑此文件

  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从 extensions.json 中找到您卡住的扩展名并删除这些数据

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然后再次尝试下载我希望它会起作用

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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