Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.
Hope you enjoy the instance!
Follow the wormhole through a path of communities !webdev@programming.dev
If I wrote an IDE and detected tabs I’d just have it delete the codebase
It was more than just tab conversion. For example, it decided on its own that:
would look better like:
I mean I guess I could live with that, but really? I imagine there’s some config where you can disable all this, but it just doesn’t seem worth some giant git commit every time I touch a file with the editor.
deleted by creator
Ah I think I found it. I need to go:
My guess is that it has that default because they use Rust. Everyone uses rustfmt so everything looks the same and if you always format before a commit you never get massive diffs.
Most rust projects I’ve seen even have a ci job to check the formatting with rustfmt.