-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Remote Dev: Formatting on save still happens when disabled #20024
Comments
Zed.log |
in my case it helped to set |
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 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. |
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. |
Just my 2 cents, I totally agree. This bug bit me as well. It would be nice to have the option to disable this setting based on the style guides of the repo. |
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
The text was updated successfully, but these errors were encountered: