Open 0x5b62656e5d opened 3 weeks ago
Zed.log Was not able to upload log when submitting the issue for some reason
in my case it helped to set "format_on_save": "off"
in server settings file
Even if I don't have a server settings file, it still should not format on save no? Based on local user settings?
I have run into the same issue when there is no config file on the remote. If I copy my config to the remote system then it works correctly. I would expect to not need to do this
Hmm. We should fix this. At one point we used to sync all your local settings to the remote, but that caused problems for people who have language-server specific configuration.
I think we need to figure out which settings need to be synced more granularly and upload those; probably all formatting related things (like indent size, etc.); Also allow_binary_downloads
when we ship that.
Any others that are top of mind?
I think that root problem in case of 'format_on_save' is that it is 'on' by default. It corrupted all my uncomitted changes when i decided to try zed editor on my pet project.
Hmm. We should fix this. At one point we used to sync all your local settings to the remote, but that caused problems for people who have language-server specific configuration.
I think we need to figure out which settings need to be synced more granularly and upload those; probably all formatting related things (like indent size, etc.); Also
allow_binary_downloads
when we ship that.Any others that are top of mind?
As there is the option to have a remote config file and a local one, I would expect it to respect the local one (even if it breaks things) unless I specifically make one on the remote system. That would be the more expected behaviour to me anyway.
Check for existing issues
Describe the bug / provide steps to reproduce it
Even though "format on save" is disabled in user settings, saving a file in a remote environment still formats the file.
"format_on_save": "off"
)Environment
Macbook Pro M3, Sequoia 15.1 Remote host: Raspberry Pi 4B, Debian GNU/Linux 12 (Bookworm)
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your Zed.log file to this issue.
Zed.log