vscode-sync-settings icon indicating copy to clipboard operation
vscode-sync-settings copied to clipboard

[help] syncing other extensions data

Open alx-xlx opened this issue 10 months ago • 3 comments

I have this extension called echoapi, I can save few http requests using this extension and they create this file that stores all my saved projects in json file

C:\Users\USERNAME\AppData\Roaming\VSCodium\User\globalStorage\echoapi.echoapi-for-vscode\apiList.json

is there a way to sync those ?

Can it be done ?

alx-xlx avatar Jun 07 '25 19:06 alx-xlx

try:

"syncSettings.additionalFiles": [
    "~globalStorage/echoapi.echoapi-for-vscode/apiList.json",
]

https://github.com/zokugun/vscode-sync-settings?tab=readme-ov-file#external-files

daiyam avatar Jun 07 '25 22:06 daiyam

@daiyam thank you so much, I found out that it can also sync entire folder as well.

However when I try to connect my gitea as remote sync then something strange happens, I get this error, I am running it on linux and windows, the error is from linux

Sync Settings: Error: The repository wasn't successfully initialized so the current operation can't continue. Please check the previous error.

Sync Settings: The git repository can not be pulled

Sync Settings: Error: Error: spawn git ENOENT at ChildProcess._handle.onexit (node:internal/child_process:285:19) at onErrorNT (node:internal/child_process:483:16) at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

here is my settings.yml

hostname: ""
profile: main
repository:
  type: git
  url: https://USERNAME:[email protected]/USERNAME/vscodium.git
  branch: master
  messages:
    init: 'profile({{profile}}): init -- {{now|date:iso}}'
    update: 'profile({{profile}}): update -- {{now|date:iso}}'

alx-xlx avatar Jun 08 '25 12:06 alx-xlx

@daiyam thank you so much, I found out that it can also sync entire folder as well.

However when I try to connect my gitea as remote sync then something strange happens, I get this error, I am running it on linux and windows, the error is from linux

Sync Settings: Error: The repository wasn't successfully initialized so the current operation can't continue. Please check the previous error.

Sync Settings: The git repository can not be pulled

Sync Settings: Error: Error: spawn git ENOENT at ChildProcess._handle.onexit (node:internal/child_process:285:19) at onErrorNT (node:internal/child_process:483:16) at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

here is my settings.yml

hostname: "" profile: main repository: type: git url: https://USERNAME:[email protected]/USERNAME/vscodium.git branch: master messages: init: 'profile({{profile}}): init -- {{now|date:iso}}' update: 'profile({{profile}}): update -- {{now|date:iso}}'

I was getting the same errors and fixed the issue by installing Git for Windows and copying my ~/.ssh/config and accompanying keys from WSL into C:\Users\<username>\.ssh\config.

AJMaxwell avatar Jun 13 '25 21:06 AJMaxwell