JulianEberius / Subclim

Eclipse Java completion and refactoring powers in Sublime Text 2 using Eclim
117 stars 20 forks source link

Causes major editor lag. #10

Closed lunixbochs closed 11 years ago

lunixbochs commented 11 years ago

This plugin doesn't seem to do background processing. It generates significant lag the Sublime Text UI for me.

I really liked the idea but it's not as usable as I'd like. I now have the linting part of eclim implemented in sublimelint (which does do background processing, so no lag). I'd probably still have use for auto import functions.

JulianEberius commented 11 years ago

Hi,

The plugin does validation and auto import in the background. The completion requests are synchronous and are very slow, which is why completions have to be requested manually by default (ctrl+alt+space). My guess is that you changed the default settings {"subclim_auto_complete": false} to true. In it's current version ST2 calls completion plugins on almost every keystroke by default, which would explain your editor lag. So either disable automatic, "as-you-type" completions in ST2 or set Subclim to complete only on manual request (the default setting shown above).

Julian