Auto-Indent intermittently not functioning

Problem

When editing scripts in Studio, sometimes auto-indent does not function when hitting enter. It just places the cursor at the start of the next line instead of at the same or next tab stop. The tab stops are configured as 4 and using spaces is turned off. It seems to be more pronounced when writing/editing if statements.


Additional Information

Parameter Value
Problem Area Studio
Problem Component Script Editor
First Noticed 2 Aug 2024
Priority Medium
Impact Low
Annoyance Level Very High

The beta features that I have enabled are as follows:

  • Assistant Preview
  • Material Generator
  • Texture Generator

As for plugins, I have a bunch that are installed, but very few are enabled. The ones that are enabled are listed below with links to their details page on the Roblox store website:


Expectations

When I hit enter, what I expect to happen is that the cursor moves to the next line at the same or next tab stop depending on context.


Visuals

Not really


Reproduction

To reproduce the issue, perform the following steps:

  1. Open Studio
  2. Create a new script.
  3. Start editing.

Sorry for being late to this. Just to confirm, we have a ticket filed in our internal database for this issue.

Hi @Maelstorm_1973

We are tracking this issue with this post: Auto-Indent/Auto-Complete intermittently does not work after using certain LUA keywords and constructs, since they look like the same issue. I will follow this up with you in DM.

Thank you!