mattiasnordin / StataEditor

Stata Editor for Sublime Text 3
47 stars 18 forks source link

Sublime Cursor Lags with StataEditor #33

Open HariharanJayashankar opened 5 years ago

HariharanJayashankar commented 5 years ago

Hi,

So when I start sublime everything is a bit laggy. Especially noticeable is the fact the cursor disappears whenever I try to move it with the arrow keys, and reappears at a later spot. It looks like it's travelling invisibly (best way to describe it).

I've tried starting sublime afresh (uninstalling sublime, removing all packages, etc.) and I've narrowed down the problem to StataEditor.

This is especially horrible because this package has been a godsend for me.

This is on windows 8 by the way.

mattiasnordin commented 5 years ago

It's hard to tell if this is specifically for the Stata package or for Sublime Text in general. If it is the latter (which I would suspect) then there is not much I can do unfortunately. If it is the Stata module specifically, you might consider changing some of the settings. By default, most memory intense settings are turned off (this is especially true for the file_completions settings). The only default setting you could try turning off is variable_completions. You could also experiment with the waiting_time setting, but unfortunately I don't think changing either setting will make a big difference.

HariharanJayashankar commented 5 years ago

Hi thanks for the reply.

I had tried to turn off all the additional settings inside the Stata Editor preferences, but unfortunately that didn't seem to work. I am on my home pc right now and can confirm that sublime works with StataEditor flawlessly here. I'm on Windows 10, so maybe its some weird interaction between the operating systems.

Thanks for the help anyway. I'll see if I end up finding a solution for this.

mattiasnordin commented 5 years ago

Ok, let me know if you find a solution!

dbeheshti commented 5 years ago

Hi thanks for the reply.

I had tried to turn off all the additional settings inside the Stata Editor preferences, but unfortunately that didn't seem to work. I am on my home pc right now and can confirm that sublime works with StataEditor flawlessly here. I'm on Windows 10, so maybe its some weird interaction between the operating systems.

Thanks for the help anyway. I'll see if I end up finding a solution for this.

I'm having the same issue on Windows 10, so I don't think it's specific to Windows 8. If I disable StataEditor then the cursor goes back to normal so I can still use Sublime for everything else, but as soon as I enable it everything starts lagging again.

HariharanJayashankar commented 5 years ago

That is pretty much exactly what happens to me.

Tell me if you ever find a solution to this!