-
-
Notifications
You must be signed in to change notification settings - Fork 394
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
Ignore Upload some settings information in GIST #232
Comments
I think this would be useful, e.g.:
It would be better to just ignore that setting. |
@rainbyte |
Thanks @shanalikhan, that's what I'm doing now, it just doesn't feel right. I would prefer to ignore the setting globally, without config per machine, if it is possible. |
@borekb @shanalikhan if I read this right, you want any replacement code to be removed from the settings.json in the gist. This would be nice, I agree, but please do not remove comments in settings.json which may contain these strings. I keep all of my different machine setups in the main settings.json file as comments. |
I wouldn't remove the value from the uploaded JSON, I would just replace it with some known, single value. For example, say that some settings stores a timestamp. Currently, if I upload the settings every second, I'll get many revisions of my settings.json with mess like this:
The goal would be to replace the ever-changing value with a single, non changing value, e.g., |
@borekb which setting key is changing, can you explain the real example of any extension of anything that cause change in values in settings.json again and again |
@shanalikhan for me, it's |
replaceCodeSettings
also during uploadFixing #232 and adding quiet sync option
I have released v2.7 adding this feature. |
Excellent! How does it work? I see a new |
For now , some fixed value ! like Oh i have posted the |
I tried this in "ignoreUploadSettings": {
"window.zoomLevel": 3
},
"replaceCodeSettings": {
"window.zoomLevel": 2
}, This should mean, "when uploading to Gist, put |
Oh I see, |
for your case, u only need one thing
Any value in There was no other way to do that. I'm closing this issue, let me know if there is any problem |
I either still don't understand how this is supposed to work, or it doesn't work correctly. I have this in my
and this in my
Now I close VSCode. The next time it starts, it downloads settings from Gist due to this configuration:
After this, I am left with a broken window zoom as it is completely missing from What removed it from there? I guess it's still not clear to me when exactly are |
@shanalikhan Did you hear back from upstream about the bug? I experience the same issue, I specify the list of keys to exclude, but they keep appearing in the gist. |
Same for me. I've set
in |
SO, what's current workflow to keep some settings local? E.g. I have |
+1 |
@swarnendubiswas @evenfrost @syepes - I dont have much good news to share. I've ran into a similar issue and have spent a while research it to no avail. I can tell you that the upstream issues he mentioned about have been closed. One was flagged by-design and they second was auto-closed in July for "needs more information and has not had recent activity". Also - |
@robertpeteuil Dont worry! 😄 I'm the only one working and maintaining. I worked on this feature and after reaching toward end , found some show stopping Code API limitations so i had to revert it. Released v2.9 today with alot of features. Update : I have to look when its possible to work on it :) |
@shanalikhan Awesome, thank you. I understand the challenge of maintaining open source, while juggling other responsibilities. There was a specific issue I was having, which I believe is (or at least was) related to the logic of how it processes ignored local settings.
An example - I was trying to hide the Docker Explorer on 2 of machines but allow it to be shown on a 3rd. (It's displayed by default, unless there's a setting that explicitly sets it to False)
I hope I explained this properly. If not, let me know and I'll provide more details. |
Hi With this I currently don't know any use case for |
I like it. It would allow me to manage everything from |
Duplicate of #555 |
Locking this thread. Let's keep a track over there. |
Originally from #100 (comment)
Since #100, local settings can be replaced by
replaceCodeSettings
. However, this doesn't influence upload direction at all and if something changes frequently, there will be lots of new versions in the Gist for no good reason.It would be good if
replaceCodeSettings
could also be taken into account during upload and replace the real value with some placeholder or something.The text was updated successfully, but these errors were encountered: