Line spacing added to well formatted code, making readability unfavorable.

Resolved 💬 5 comments Opened Feb 28, 2025 by normanlove222 Closed Feb 28, 2025

We all know what well formatted code looks like, well on my VS Code and Sublime text editors, my code formatting changes when it processes a file to rewrite code. it seems to add a line space, or empty line between each line of code. doubling the lines in the code and making readability that more difficult. I find i have to reformat when its done. And I believe this also lead to some weird formatting issues like code in my .css file being off to the right in the editor by like 100,000 spaces. things like that, that took like an hour to figure out where my code was and how to fix. this is kinda dangerous and can lead to missing code if we delete what we fell are empty lines, but are not because the code is unseen to the right , waaaaaay to the right.

I searched for issues and didnt see any other issue mentioning this. I cant be the only one.

Im on windows 10
WSL Ubuntu and the editors that show the weird code replacement are VS code and sublimetext 3.

It appears to me to be the weird way claude code uses coding to read code in from files and then rewrite it. seems overly complex and also uses a ton of tokens just to read a file. this is my guess.

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗