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

workbench.colorCustomizations override in main settings.json #1654

Closed
zelphir opened this issue May 5, 2017 · 10 comments
Closed

workbench.colorCustomizations override in main settings.json #1654

zelphir opened this issue May 5, 2017 · 10 comments
Labels

Comments

@zelphir
Copy link
Contributor

zelphir commented May 5, 2017

Great work, but after updating to the latest release I've noticed that every time that you switch mode the whole workbench.colorCustomizations in the main settings.json is overridden, that means that if you have custom settings (like me) they are gone!

@jpoon
Copy link
Member

jpoon commented May 10, 2017

@xconverge any ideas?

@xconverge
Copy link
Member

Yea, we should read the existing colorCustomizations in configuration.ts at initialization, then we can only change the entries we want if the setting is active and use the stored configuration from configuration.ts

@zelphir
Copy link
Contributor Author

zelphir commented May 15, 2017

@xconverge @jpoon any update on that?

@jpoon
Copy link
Member

jpoon commented May 15, 2017

I don't believe either of us are working on it at the moment, but we are happy to take PRs.

@jpoon jpoon added the kind/bug label May 15, 2017
@zelphir
Copy link
Contributor Author

zelphir commented May 18, 2017

@jpoon what's wrong with saving the settings in the workspace instead of the user settings?

@Chillee
Copy link
Member

Chillee commented May 18, 2017

@zelphir Haha. Funny that you ask.

#1565

You actually posted in there too :)

@zelphir
Copy link
Contributor Author

zelphir commented Jul 3, 2017

@Chillee did you have any chance to take a look at it? I think this setting should stay in the .vscode folder and not in the user settings. Removing the true from this line will fix it (it will move the colors back in the .vscode settings). Or alternatively the modeHandler should be able to update only this block

{
   'statusBar.background': `${color}`,
   'statusBar.noFolderBackground': `${color}`,
   'statusBar.debuggingBackground': `${color}`,
}

Without overriding all the other settings.

@autoferrit
Copy link

Any updates on this fix. This issue alone is making it so I can use it as i have many colors customized. Is there a workaround?

@zelphir
Copy link
Contributor Author

zelphir commented Aug 23, 2017

@Chillee Any update on this one?

@jpoon
Copy link
Member

jpoon commented Nov 16, 2017

Fixed with #2122

@jpoon jpoon closed this as completed Nov 16, 2017
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

5 participants