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

Syncing of extensions not working in portable mode #756

Closed
drb-germany opened this issue Jan 25, 2019 · 23 comments
Closed

Syncing of extensions not working in portable mode #756

drb-germany opened this issue Jan 25, 2019 · 23 comments
Labels

Comments

@drb-germany
Copy link

drb-germany commented Jan 25, 2019

🐛 When installing VS Code in portable mode with local data directory, extensions are not (fully) synced

VS Code can be installed in portable mode (download ZIP file and extract in some random directory). If you create a folder with the name "data" in the main directory, VS Code will save all settings and extensions into this subdirectory (see https://code.visualstudio.com/docs/editor/portable).

With this mode, Sync is ignoring most of the extensions. Out of five installed extensions, only one was synced to the file extensions.json in GIST. Even code-settings-sync itself is not synced as extension. As a result, downloading the settings on another installation only installs the one synced extension.

Doing the same setup with a regular installation works.

🌴 Visual Studio Code Version : 1.30.2
🌴 Code Settings Sync Version : 3.2.4
🌴 Standard or Insiders : Standard
🌴 OSS or Portable : Portable
🌴 Operating System : Win 10
🌴 Occurs On: Upload
🌴 Proxy Enabled: No

📰 To Reproduce
Steps to reproduce the behavior:

  1. Install VS Code Portable
  2. Create 'data' directory in VS Code folder
  3. Start VS Code, download code-settings-sync
  4. Install some extensions (e.g. prettier, vetur, they did not work for me)
  5. Upload settings
  6. Check gist (extensions.json) or download settings on another machines: extensions will be missing

💪 Expected behavior
All extensions uploaded

@shanalikhan
Copy link
Owner

can you show an image of the following:

  1. data folder
  2. Image of the console log from the vscode, to see any exception being logged over there.

@LuisUrrutia
Copy link
Contributor

Same problem here:
The only "Error" in the console was:
captura de pantalla 2019-02-25 a la s 16 02 41

And the portable folder has:
captura de pantalla 2019-02-25 a la s 16 04 23

@shanalikhan
Copy link
Owner

Its fixed with new version v3.2.6

let me know in case of issue.

@KolyaKorruptis
Copy link

KolyaKorruptis commented Mar 5, 2019

I just got updated to Version: 3.2.6. of Settings Sync on my portable vscode instance.
I uploaded my settings and now the extensions array is completely empty. Meanwhile I have about 30 extensions installed.
Before the 3.2.6 update extensions were only noted partly, as described by OP.

image
image

@shanalikhan
Copy link
Owner

@LuisUrrutia can you look into this.
Feel free to send PR, i will release in new version ( if there is still something missing )

@LuisUrrutia
Copy link
Contributor

@KolyaKorruptis can you open the developer tools of VSCode
screen shot 2019-03-05 at 1 13 30 pm

Try to upload again and share the console log?

@KolyaKorruptis
Copy link

KolyaKorruptis commented Mar 5, 2019

image

image

@LuisUrrutia
Copy link
Contributor

@KolyaKorruptis cool! Now I know what the problem is. Are you sure that this extension worked before in the same VSCode portable and in the same OS?

@KolyaKorruptis
Copy link

Yes, I'm sure. It worked partially, as OP describes in the first post.

@LuisUrrutia
Copy link
Contributor

@shanalikhan can u re-open this issue and assign it to me?

@shanalikhan shanalikhan reopened this Mar 5, 2019
@shanalikhan shanalikhan self-assigned this Mar 5, 2019
@shanalikhan
Copy link
Owner

It's reopened
U can send PR

@shanalikhan shanalikhan removed the fixed label Mar 5, 2019
@shanalikhan shanalikhan removed their assignment Mar 5, 2019
@shanalikhan shanalikhan removed this from the v3.2.6 milestone Mar 5, 2019
@gsabater
Copy link

gsabater commented Mar 5, 2019

I have the same issue as @KolyaKorruptis
My extensions now are an empty array and autodownloading the settings from other computer removed all extensions

@LuisUrrutia
Copy link
Contributor

@gsabater windows, right?

@gsabater
Copy link

gsabater commented Mar 5, 2019

@LuisUrrutia yes, on both machines

@jeremyhalin
Copy link

jeremyhalin commented Mar 5, 2019

Same problem here, everything working fine except extensions.json file always empty.
I'm on Windows 10, Visual Studio Code 1.31.1
It was working fine some weeks ago.

Edit: more information
🌴 Visual Studio Code Version : 1.31.1 (user setup)
🌴 Code Settings Sync Version : 3.2.6
🌴 Standard or Insiders : Standard
🌴 OSS or Portable : OSS
🌴 Operating System : Win 10
🌴 Occurs On: Upload
🌴 Proxy Enabled: No

@zcmk123
Copy link

zcmk123 commented Mar 6, 2019

same problem with the empty extensions.json ....

@hihahihahoho
Copy link

Same problem here

@gigacee
Copy link

gigacee commented Mar 6, 2019

Same issue on my PC.

environment:
Windows 10 Pro 64bit
Settings Sync v3.2.6
Visual Studio Code v1.31.1 (User Installer)

settings:

	"sync.autoDownload": true,
	"sync.autoUpload": true,
	"sync.gist": "xxx",
	"sync.quietSync": true,

@shanalikhan
Copy link
Owner

It should be fixed in new version v3.2.7.

Let me know if there is any problem.

@KolyaKorruptis
Copy link

@shanalikhan Looking good.

All active extensions were uploaded. One inactivated extension wasn't. I guess that's expected behaviour.

@gigacee
Copy link

gigacee commented Mar 7, 2019

It looks like no problem. Thanks!

@Kuzmich100kM
Copy link

Kuzmich100kM commented Jan 22, 2020

All active extensions were uploaded good. When loading it writes "Sync: You already have the latest version of saved settings." , but nothing loads.
sync download

@KolyaKorruptis
Copy link

@Kuzmich100kM This issue was about a specific problem that was solved back then and now it's been closed for a while. Please open a new issue for your problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

10 participants