Closed akowalz closed 1 year ago
Update: I've noticed that setting useBundler
in the config actually fixes this issue. This is great, but I'm going to leave this issue open as I still think it's in an issue that this command runs so frequently and causes lag without the config set. The useBundler
config is also undocumented and I only found it by digging through the source code trying to find the root of this issue.
I've installed the extension and noticed that it causes lag in my editor when my cursor is over editor violations.
In the extension's output channel, I notice that whenever my cursor is over something highlighted by Rubocop, the extension is running
bundle show rubocop
. This causes a brief lag spike and eats my inputs, making my editor feel noticeably laggy. In a file with a lot of violations, the editor becomes basically unuseable.How to replicate
Here's a video where you can clearly see the editor lag in areas with violations, compared with areas without violations. Also notice how often the extension is running
bundle show rubocop
https://github.com/LoranKloeze/vscode-ruby-rubocop-revived/assets/3599657/20d79665-936e-4269-b362-95dcf6e77a53
VSCode version details:
macOS Ventura 13.5.1 on a modern Macbook Pro.