Reproduction Steps
Not sure how to replicate, but typing functions/events such as “:FindFirstChild” in my game with over 100k script lines causes studio to freeze briefly while it loads the code preview. This has been a problem for 6+ months but I’ve always ignored it since I can just minimize code previews which fixes the issue.
This issue does not occur when copying the same scripts into a new place, so I can only assume the code preview is trying to reference other scripts from my game or something.
Side note: by code preview, I mean these
Expected Behavior
Studio should not freeze when loading code previews for functions/events.
Actual Behavior
Studio freezes briefly when code previews appear UNLESS the code preview is minimized. Also, disabling code previews in settings still causes it to freeze, the only way to stop the freeze is by clicking the arrow to hide them each time I open studio and begin coding.
Workaround
Minimizing code previews stops studio from freezing, but turning them off in studio settings does not.
Issue Area: Studio
Issue Type: Freezing
Impact: Moderate
Frequency: Constantly