Automatic Formatting

Is there a way to disable the automatic formatting of my code every time I save?

:wave: Hey @CPUghia, welcome to the forum!

Unlike most IDEs, Ctrl + S does not save the file. It instead formats it, and Replit automatically saves the file. So simply don’t press the key and it won’t format your code.


formatting your code consistently is good practice, though. You could configure a .clang-format file to suit your code style.

1 Like