-
VSCode uses JSON, Atom uses CSON, and the TOML format tends to be relatively common throughout the Rust community for configuration. The latter two formats seem to be more friendly than JSON, so I'm curious about the reasons for this decision. |
Beta Was this translation helpful? Give feedback.
Replies: 0 comments 2 replies
-
This is me totally speculating here. Zed is indeed written in Rust. However, it's not a Rust only editor. The configuration file is something many folks will see and possibly edit. Folks not necessarily tied to Rust. Out of all formats, JSON is generally ubiquitous. Granted, not the most readable or easy to edit. But, nevertheless, common out there. I believe that's the reason, but I might be missing something. Happy to see someone else from Zed chiming in 😄. |
Beta Was this translation helpful? Give feedback.
This is me totally speculating here. Zed is indeed written in Rust. However, it's not a Rust only editor. The configuration file is something many folks will see and possibly edit. Folks not necessarily tied to Rust. Out of all formats, JSON is generally ubiquitous. Granted, not the most readable or easy to edit. But, nevertheless, common out there. I believe that's the reason, but I might be missing something. Happy to see someone else from Zed chiming in 😄.