Code-settings-sync: Cannot input initial settings using Insiders build

Created on 23 Jul 2016  路  8Comments  路  Source: shanalikhan/code-settings-sync

System

Visual Studio Code Version : 1.4.0-insider (build 2016-07-22)
Code Sync Settings Version : 1.5.0
Operating System : Windows 10 (x64, Version 1511, Build 10586.494)

Steps to Reproduce

  1. Open Visual Studio Code - Insiders
  2. Open the command palette.
  3. Choose Sync: Download Settings.
  4. Extension opens browser (GitHub Settings).
  5. Command palette is no longer open.

    Details

Which means I cannot input the access token or repository during initial configuration of the extension. Not entirely sure this is an issue with the extension itself, but the command palette auto-closing seems like expected behaviour (from a quick google search).

bug 馃悰 fixed

All 8 comments

You need to click on the text bar of the command palette when you get from the new tab.
Also try to reset settings using _Sync : Reset..._ command of the extension to remove all the configuration if there is any to get from start again.

Tried the reset before posting, this issue happens on a clean install of Visual Studio Code... I've done the initial setup multiple times, so the expected behaviour is known to me.

I'll try to explain in a bit more detail:

  1. Open Visual Studio Code - Insiders.
  2. Command Palette > Sync: Download Settings.
  3. Extension opens browser. It's at this point the Command Palette closes (in the background), but is expected to stay open.
  4. Return to Visual Studio Code - Insiders. The Command Palette should still be open at this point, but it isn't (done this in the past).

EDIT
I've tried copying syncSettings.json from a previous installation, but no luck. It still opens the browser (is there a switch somewhere, telling the extension it's been configured?).

EDIT
As a temporary workaround I copied the entire vscode roaming directory from an old installation. I was then able to download the settings, which in turn got my extensions set up. So this issue is currently unsolved, but not a high priority (for me at least).

I am affected by this issue as well... I think it needs fixing urgently because the insiders build feeds into the stable build

if you are quick enough to be able to paste the first uuid and hit the enter button, the next time you select the download option it's gonna ask only for the gist uuid.

it's kinda stupid but i need to set set firefox as default browser so i could get enough time to paste+entre chrome is to fast !

i have checked it , yes its not working in insider build as now they have set if the current window is changed the input box will closed so when browser is opened it automatically closes. A simple way is to stop opening link in browser and let user do it himself by reading from Read Me, to keep it like a old way i am finding alternate solution. Will update soon :)

@shanalikhan A suggestion on the configuration process:

  1. Add a command palette entry called Sync: Open Settings
  2. This entry then opens the .json where both the token and gist repo are stored.
  3. Have the extension automatically open this file if the settings are not valid. Either because they haven't been configured, or if the extension cannot access the gist repo (due to the token being changed for example).

You are able to add instructions to the top of the .json via a comment block.

@shanalikhan I've fixed this here... https://github.com/shanalikhan/code-settings-sync/pull/54

@massimocode The user is now bound to use "esc" in order to close the input bar, i have refined the code more.
@QuietusPlus i have added new command , have a look :)

v1.6.0 is released.

I am closing this issue, feel free to re open this if found any problem

Was this page helpful?
0 / 5 - 0 ratings

Related issues

toXel picture toXel  路  3Comments

marcevrard picture marcevrard  路  5Comments

dawsbot picture dawsbot  路  5Comments

darkvertex picture darkvertex  路  4Comments

OlegChep picture OlegChep  路  5Comments