Entering on 2 lines removes the indentation on the first line

Started happening today for me. If I have something like so

function doStuff()
    print("Test")
end

And I enter down a line

function doStuff()
    print("Test")
    --
end

But then I down again the line above gets untabbed

function doStuff()
    print("Test")
--
    --
end

(the – are metaphorical)

Video to better show the problem. I’m never pressing backspace or delete. The indentation is just being removed and it’s making writing code a huge pain atm cause I have to continuously tab everything out

14 Likes

We remove indentation from empty line, most lua linter will complain the spaces/tabs on the line has no content, and most editor have the same behavior. Looks like you are using relative indentation, would you like to try absolute indentation? :smiley:

I am on absolute indentation


I’ve never changed my settings. This only started happening yesterday out of the blue

2 Likes

Can confirm this, and i am on absolute indentation as well. Often i forget and my code looks like a heated mess thanks to this bug.

4 Likes

I’m experiencing this as well. Tried it with both relative and absolute indentation, and I still have the same issue.
I’ve never seen this behavior in any other code editor before, it’s making it extremely difficult to code in Roblox Studio. Whenever I want to add anything new in between code I’ve already written, I’m now having to tab it all out again. Would really like this change to be reverted.

8 Likes

Still surprised at how few people haven’t complained about this :confused: I imagine this is happening to everyone on studio, and this is a huge problem and has forced me to basically stop scripting over the weekend because it’s near impossible to do

3 Likes

hey everyone, we hear your voice and turn off it for now, it will return as configurable setting later. Have nice weekend! :smiley:

7 Likes

This issue should now be resolved! If this issue is still occurring, please create a new topic for us to look into.

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.