I’ve been using sublime text 3 for years now. I am a full stack RoR developer so using “rubocop” is an integral part of my work. On ST3 “rubocop” worked fine, but ever since I upgraded to ST4, a page that has a lot of “rubocop” detected errors, becomes too slow to scroll. I had to downgrade to ST3. Can anything be done for this?
Sublime text 4 slow/gets stuck with rubocop
Some things to try would be to open the console with View > Show Console
and then sublime.log_fps()
and scroll around in such a file and see what gets logged for the FPS.
What platform are you on?
Does the same thing happen if you start ST4 in safe mode and try it (you would have to install the package as well to see).
I use ST4 since its beta with sublimelinter/rubocop. Plugins:
"SublimeLinter",
"SublimeLinter-rubocop",
I don’t know which setup you are using it, but for me it works (linux). Are there any errors on the console? Are you using the latest rubocop gem(s)?
I’m on macOS MBP 2020. And no errors on the console. Rest of the pages work fine, but the one that has a lot of detected errors becomes too slow to scroll.
I guess you cannot share the file, right? I actually don’t have such a big one with errors here to test it on my machine…
I think this is not related, but the red points left to the line number come from an unsupported theme or an broken local override, I guess.
Could you verify that the issue is also when you go in safe-mode, install the two plugins and try it with your file? Or create (temporarily with an backup of the old!) a new profile and test it that way.
That’s definitely slow due to slow rendering, we’ve got some improvements incoming in regards to that that should fix this problem.
unsupported theme or a broken local override
what can I do about that?
Loved the new changes of ST4 but the slow rubocop rendering is a major setback. I’m downgrading to ST3 until the slow rendering issue gets fixed. It’s working fine on ST3.
Ah didn’t see the safe-mode notice, sorry.
Which Theme are you using? Did you try the “Adaptive” or one the other official themes?