zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
42.36k stars 2.23k forks source link

Unable to save after opening the default settings file #13622

Closed xiaoai-669 closed 1 week ago

xiaoai-669 commented 3 weeks ago

Check for existing issues

Describe the bug / provide steps to reproduce it

When I open the default settings file and modify a value, a pop-up window will appear when I use command + s to save, so I can't save.

image image

Environment

Zed: v0.141.2 (Zed) OS: macOS 14.5.0 Memory: 16 GB Architecture: x64

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

Zed.log


maxdeviant commented 3 weeks ago

This is the expected behavior.

Opening the default settings opens a new buffer with the contents of the default settings.

If you want, you can save the default settings to you settings.json, but it's recommended to just modify the things you want in settings.json, since these are overlaid on top of the defaults.

JosephTLyons commented 3 weeks ago

Just for added clarity @xiaoai-669, you should be opening Settings > Open Settings and placing your custom settings, that override the default settings, in there.

The default settings tab is there just to open a buffer to give you a reference over what all can be changed.

Feel free to ping me here if you need any more help, but I'm going to close out.