Reduce script editor lag?

I have a script that’s 9175 lines long
image

As I edit the script, there’s a lot of lag. There are no performance issues when playing though. How can I reduce this?

You can’t reduce it. Roblox IDE needs to check everytime you click something for any errors etc

1 Like

This is what things like Rojo are for, Roblox IDE is alittle slow so moving things sumwhere else (VSCode) may speed things up

Also look into decoupling because i do believe no script should be 9k lines long lol

For me 2k - 3k lines already lag in Roblox’s Script Editor. Since your script is 9k lines I would recommend you split that script maybe into modules if possible.

If you don’t wish to do so, then there is no way to reduce the lag like:

  • Sometimes characters take a long time to appear.
  • Highlighting of keywords breaks completely.
  • Auto-Completion just doesn’t work either or it just recommends the basic stuff ignoring the rest.

EDIT:
I can barely use Visual Studio Code, which is laggy just like Roblox’s Script Editor. Everything takes a long time to load, like auto-completion and characters being slow to appear when typing.

definately VSCode is much better but it will have a lot lags too, i make crypto bots with python and 1k lines is enough to have a slight delay with for example intellisense

1 Like

Try the following:

In the script tab, go to the scroll button (on the right side of the screen) and click on it. It should be the second icon from the left.
Press the “B” key on your keyboard to show the bookmarks.
Press the “A” key on your keyboard to show the lines.

These steps should make editing a lot easier.

How can I stop that check studio does?

Go to studio settings → script editor and in general tab turn everything you don’t need off