Slava / tern-meteor-sublime

Meteor Framework autocompletion for Sublime
246 stars 11 forks source link

Time out #10

Closed leebenson closed 9 years ago

leebenson commented 9 years ago

Using this with Sublime v3, on a moderately sized Meteor app, I get this every time:

screen shot 2015-04-07 at 12 04 52

Slava commented 9 years ago

On bigger projects the startup time will take longer time. Usually pressing "Cancel" and giving it a couple of seconds works fine for me.

Pushplaybang commented 9 years ago

yeah this is pretty annoying, it happens every few minutes, or after spending a minute or two in the browser, I recall that codeIntel used to suffer from a similar issue and there was a bit of hack to fix it.... any chance you're going to look at this ?

marxo commented 9 years ago

I can confirm that this issue is pretty much making the package unusable with bigger projects. Indexing crashes Sublime.

leebenson commented 9 years ago

yup, I'm still getting the same issue. I switched to WebStorm and haven't looked back.

marxo commented 9 years ago

I'm pretty sure the bottleneck is PyV8 combined with TernJS, here's a reference https://github.com/emmetio/sublime-tern/issues/36, not actually this packages issue.

marxo commented 9 years ago

The solution seems to be: Uninstall TernJS package with PyV8, and install https://github.com/marijnh/tern_for_sublime which uses Node.js instead of PyV8. No hangs.

lucascurti commented 8 years ago

@marxo Did you manage to make tern_for_sublime work with Meteor?

marxo commented 8 years ago

@lucatros Yes, tern_for_sublime works good with Meteor. No hickups.

lucascurti commented 8 years ago

Can you please share some tip on how to make it work? I installed it but doesn't seem to work. Since TernJS seems to be packed into the "tern-meteor-sublime" package I'm not sure how I should uninstall without uninstalling the complete package. Thanks.