Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VS Code Crashes on "Download" Operation after Profile Switch; Requires Redundant "Upload" to Resolve #50

Open
XiaoLey opened this issue Aug 14, 2023 · 0 comments
Assignees

Comments

@XiaoLey
Copy link

XiaoLey commented Aug 14, 2023

Error Description:

Crash error with message The window terminated unexpectedly (reason: 'clean-exit' code: '0'), causing VS Code to crash and exit suddenly.

img

Steps to Reproduce:

  1. Use the "Sync Settings: Create a new profile" command to clone a new "profile".
  2. Use the "Sync Settings: Switch to profile" to switch to the new "profile".
  3. Use "Sync Settings: Upload (user -> repository)" to upload.
  4. Switch back to the default "profile".
  5. Execute "Sync Settings: Download (repository -> user)". The synchronization process will start, and at the end, the crash error will pop up, causing the program to exit suddenly.

To return it to normal functionality, the only option is to run the "Sync Settings: Upload (user -> repository)" command again. After doing this, the "Download" operation works as expected. However, this approach is highly unreasonable. I haven't made any changes and I'm unsure if any error occurred after the "Switch". I shouldn't have to perform the "Download" operation.

Settings Config:

"syncSettings.ignoredExtensions": [ ],
"syncSettings.ignoredSettings": [ ],
"syncSettings.additionalFiles": [ ],
"syncSettings.gitInitMessage": "profile({{profile}}): init -- {{now|date:iso}}",
"syncSettings.gitUpdateMessage": "profile({{profile}}): update -- {{now|date:iso}}",
"syncSettings.keybindingsPerPlatform": true,
"syncSettings.resources": [
  "extensions",
  "keybindings",
  "settings",
  "snippets",
  "uiState"
],

Repository Settings:

hostname: UserManjaro
profile: main
repository:
  type: git
  path: /home/user/Projects/backup-pro/vscode-backup
  branch: main
@daiyam daiyam self-assigned this Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants