News for hackers. Stuff that matters.
Re:Zed on Linux Is Here by haspok on Thursday July 11, 2024 @09:24AM (#40936531)
No, it isn't. And anyway, I downloaded a generic text editor which has no idea of what autoformatting settings are applicable to my repos (maybe it differs per repo?), yet is trying to autoformat anyway? For example, it decided to replace ' characters in a YAML file with ". WTF? The _default_ setting should be to save as-is.
Re:Zed on Linux Is Here by p5a0u9l on Thursday July 11, 2024 @11:49AM (#40937940)
Evidently this is all very new to you, sounding slightly histrionic.

The zed complaint is purely about it be auto enabled. For each language there is usually a standard and at least one tool. Most people want formatting and can’t stands code bases where sometimes it’s a single quote, sometimes a double quote.

Re:Zed on Linux Is Here by flexagoon on Monday July 15, 2024 @01:47PM (#40969951)
> maybe it differs per repo

Then you'll already have a formatter config file in the root of your repo, and the formatter that Zed runs will use those settings.