Code style settings not synced?

Answered

Hey devs, so, I'm having this issue from quite some time already, and I'm starting to lose my patience, it's getting quite frustrating really.

I have 4 devices on which I code using IntelliJ IDEA, and I want the code style (for Java but for other languages I have the same issue)  to be like this:

I have sync enabled, but for some reason I have to set those settings on every single device. And the worst part is that sometimes I don't know why, they reset. So I have to set them again and again and again on every single device. Why are they getting reset, why are they not synced? This is super frustrating

0
3 comments

Hello Alessandro. Could you please share IDE logs (Help | Collect Logs and Diagnostic Data) from the IDEs where you couldn't synchronize code style schemes via Settings Sync? You can share it privately via the JetBrains Uploads service and post here the ID you receive.

Regarding the code style reset problem you mentioned, it could be not related to the Settings Sync itself: we have some amount of similar reports like IDEA-311315, but weren't able to reproduce the problem yet. 

By design, the Settings Sync should write the latest version of the settings to the cloud (or pull the latest version of settings from the cloud, depending on which changes are the latest), so when your settings are reset, these changes should be written to the cloud and synchronized to other IDE instances. 

1

Olga Mulina sure thing, here are logs: Upload id: 2023_05_31_WQAWRfbr52RvcS164VhvFL (file: idea-logs-20230531-21495913508168451291916662.zip)

These are taken from the IDE on my desktop PC. Continuation indent is back to 8 spaces again :(

This morning I was coding on one of my laptops, and it was set to 4

0

Thank you for sharing the logs.
In the log, I don't see anything suspicious related to the Settings Sync. Could you please try to disable Settings Sync (or just the Code Settings section in the Settings Sync settings) in your IDEs and check if the problem persists? 

As I said before, some of our users reported the problem of code style reset, which is not related to the Settings Sync. If Settings Sync is enabled on the PC where this problem exists, these changes could be synchronized to other IDE instances. Regrettably, for now, we weren't able to reproduce this bug on our side to understand what exactly triggers code style reset. 

0

Please sign in to leave a comment.