language-terraform icon indicating copy to clipboard operation
language-terraform copied to clipboard

language-terraform hangs

Open leonmax opened this issue 5 years ago • 2 comments

After installed language-terraform, it works. But when I restart my Atom, it hangs, totally irresponsive. After a couple of seconds, atom pop up the window "Editor is not responding". If I choose "Keep Waiting" it will keep hanging until the window pop again.

The problem resolved once I delete language-terraform with apm (I can't even open preference in Atom to remove it).

Please help.

leonmax avatar Mar 22 '19 05:03 leonmax

image

atom --version
Atom : 1.35.1 Electron: 2.0.18 Chrome : 61.0.3163.100 Node : 8.9.3

leonmax avatar Mar 22 '19 05:03 leonmax

As this does not happen to all users I am unsure if https://github.com/cmur2/language-terraform/pull/43 is correct in stating that the large keywords.cson file is the culprit.

I do not have crashes on startup and I am currently using language-terraform v0.9.3 on Linux x64:

$ atom --version
Atom    : 1.43.0
Electron: 4.2.7
Chrome  : 69.0.3497.128
Node    : 10.11.0

Atom's timecop tells me that This package added 2ms to startup time. which is very fast. What is indeed slow (takes 2-3 seconds) is opening the Packages > Language Terraform settings view that renders a tremendous amount of keywords.

@leonmax it might be interesting which OS you use and which other packages you have installed?

cmur2 avatar Apr 19 '20 15:04 cmur2