-
-
Notifications
You must be signed in to change notification settings - Fork 395
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
@sync-ignore isn't ignoring my local value, it deletes it #686
Comments
@ioprotium can you look into it |
@shanalikhan sure. The problem comes from the Sync settings initial behavior. When settings are downloaded it overwrites the entire file. We should compare the existent file and extract all the That shouldn't be difficult. But we need to define the following: when we merge the settings in order to keep the ignored ones, those will be
What do you think? In my opinion, keep all the |
yes, thats perfect. For PR, you can pull from update : i have created branch v3.2.1 |
@shanalikhan Today I will start with this. Sorry for the delay, busy week at work. |
The latest 3.2.0 release implemented
@sync-ignore
pragma, see #640, but I don't think it's working as expected.These were my steps to reproduce:
// @sync-ignore
before"window.zoomLevel": 1
.I would expect that my local
settings.json
still contains this:but it didn't, these two lines were removed. Removing is not ignoring. In practice, this messes up my
zoomLevel
every time I invoke download which is unpleasant.The text was updated successfully, but these errors were encountered: