I am ever amazed at Claude’s inability to add a linefeed character to the end of a file. It’s like the developers never heard of POSIX.
Discussion
@ramsey I wonder if it’s because they have to split along certain boundaries when they are doing batch training which is usually like end of document markers? Dunno
@ramsey What developers?
(No, I don't believe their hype about "claude codes claude", but perhaps they do)
@ramsey if I start seeing these files missing a new line creep into my repo does that mean my coworkers are using Claude
I noticed because after I save a file in vim git diff finds an extra difference... the now present newline
@dannotdaniel I’ve also noticed this is a quirk of VS Code, as well.
In VS Code its an option that defaults to off on new installations.
@draeh @dannotdaniel Not adding a newline to the end of a file is chaotic evil.