How do you stop the compiler from formatting

So, the code keeps formatting in odd ways like this

        out.println(CYANTEXT + "OK, type 'MAYBE' when it asks you if you want to order again." + DEFAULTTEXT); // starts
                                                                                                               // the
                                                                                                               // treasure
                                                                                                               // hunt
                                                                                                               // for a
                                                                                                               // $10
                                                                                                               // discount

is there any way to stop this from happening?
(I think this is a bug but if it isn’t please move it into the right catagory)

Does it do that when Replit formats it (I think ctrl+s) or does it happen when code is written…? Please explain when it happens

1 Like