atom-ternjs icon indicating copy to clipboard operation
atom-ternjs copied to clipboard

Urgent : Major bugs introduced in 0.15

Open rwatts3 opened this issue 8 years ago • 8 comments

Greetings,

There were some major performance issues following the release of 0.15.0 . I've noticed a significant increase in package load time. It used to be 70ms and now it's 1618ms. Also with the package activated, the second I attempt to start typing within a comment block atom crashes ,

Two redundant entries in the config settings for Display Above Snippets and one for Display above Snippets. Both appear to be doing two completely different things.

Great work on the project, but i'm afraid the release of 0.15 has really destroyed my productivity for the day.

http://screencast.com/t/VfuDf1VSXlz


OS : Windows 7 Atom : 1.10 beta7

rwatts3 avatar Aug 25 '16 23:08 rwatts3

Downgrade to 0.14.2 and i'll have a look into this later.

  • Does the performance issue only affects startup time?
  • The "Display Above Snippets" is atom related. The only workaround is to delete tern related config data and reinstall the package

There is no duplicate entry here:

bildschirmfoto 2016-08-26 um 09 19 19

tststs avatar Aug 26 '16 07:08 tststs

Hi @tststs, how are you? I'm having the same issue. I think is only affects the startup, the autocomplete is working excellent in my case. Maybe is a sync operation that is taking some time on the startup (read a config file, check something, ...)

By the way, before install the new version, i removed the old one and delete all files that i found related with that version. I made a fresh install of the new atom-tern, just in case.

screenshot_2016-08-26_09-47-30

tinchoz49 avatar Aug 26 '16 12:08 tinchoz49

yes, startup time has increased and i will try to to reduce it in the future, but this is a low level priority for now. i switched mostly to import syntax and the package imports all dependencies on startup. This makes life a bit easier.

@rwatts3 you have example code that crashes the editor? i wasn't able to reproduce the issue in any of my projects.

greetings

tststs avatar Aug 26 '16 13:08 tststs

Hi

This package was working perfectly before this update. Now lint is not working anymore, this notification pops up when i restart the server image

marconn avatar Aug 29 '16 02:08 marconn

the new version(v0.15) has removed the lint plugin. I have the same problem today and resolved it. You can delete the old .tern-project file and re-generate new one or just delete this lint plugin config in your .tern-project file.

"lint": {},

eyesofkids avatar Aug 29 '16 07:08 eyesofkids

tern-lint isn't supported at the moment and was removed in favor for [email protected]. this is due the fact that tern-lint wasn't updated in a while and does not seem to be compatible with the current version of Tern atom-ternjs uses.

tststs avatar Aug 29 '16 07:08 tststs

It seems that tern-lint has tern 0.20.0 support now? https://github.com/angelozerr/tern-lint/issues/73

ryanswrt avatar Sep 24 '16 07:09 ryanswrt

I'm having the same issue and currently atom-ternjs is the slowest to activate with about ~300ms. Any improvement on the performance would be much appreciated since I love using ternjs. Anyway thanks for your amazing work so far (:

jiayihu avatar Nov 06 '16 13:11 jiayihu