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

How to ignore specific uiState configuration? #38

Open
seekstar opened this issue Jan 28, 2023 · 1 comment
Open

How to ignore specific uiState configuration? #38

seekstar opened this issue Jan 28, 2023 · 1 comment
Assignees

Comments

@seekstar
Copy link

After uploading the local configuration to GitHub, I found that there were huge changes in profiles/main/data/ui-state.yml: seekstar/vscode-settings@e207c17. However, the huge changes are just appending ,"status.workspaceTrust.1674896653189","status.workspaceTrust.1674896683291","status.workspaceTrust.1674896705334" to the huge string vector of workbench.statusbar.hidden. I don't think status.workspaceTrust worth syncing. Therefore I want to know how to ignore it with syncSettings.ignoredSettings or in some other way.

@daiyam
Copy link
Member

daiyam commented Jan 28, 2023

syncSettings.ignoredSettings is for settings found in settings.json.
Currently, there is no way to filter the uiState to save. I think I will add a setting to do that.
Temporally, you can disable uiState sync with "syncSettings.resources": ["extensions", "keybindings", "settings", "snippets"]

@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