This wasn’t happening to me until I had to clean up my PC, how do I disable autoformatting on some parts of my code? Like, when I’m writing and drop a line after setting a variable it adds an unwanted space, gif for reference.
1 Like
That’s called indentation and it usually occurs if your code is inside a function/if statements.
It is basically a default settings and i’m pretty sure you can change it.
File > Settings > Studio > Auto Indent Rule > Off
I don’t suggest turning it off though, because this is what makes it look nice and people would really like to see it with indentations when you need some help with your script.
You can also turn it off and instead using tab to indent your code, or leave it on and remove those spaces from your code, the choice is yours.
2 Likes