Open NicoleRauch opened 7 years ago
BTW I am using Haskell Tools nightly-2017-06-10.
Does this error only present when trying with a given project? Haskell-tools is known to be unresponsive while refactoring certain packages.
Hm, not sure if I understand your question correctly... How can I use it without "a given project"?
Or do you mean "one specific project"? I tried it with two different projects, one of which is very small (3 Haskell files).
Yes, that was what I meant. Could you send me the smallest example with instructions to reproduce the error?
I tried to reproduce it with just a simple file containing
module Main where
f = 7
where it actually got to "Ready" :-)
But when I tried to rename the binding, I got the error message "Unfortunately the server crashed. Restarting."
Please check the error message related to the crash. You can open the Atom log by View/Developer/Toggle Developer View. The Haskell-tools errors will be found in the Atom log prefixed with ht-daemon
.
It is possible that another folder had been added but the client lost track of it. Please try the following:
I installed Haskell-Tools 0.6.0 into Atom 1.17.2, loaded a Haskell project and added a folder to Haskell-Tools:
I then opened a file and started Haskell Tools server. This was indicated in the status bar by "Calculating":
When I issued a command, e.g. "Extract binding", I was asked for the new name, and then this indicator changed to "Refactoring", but it never got out of this state, and nothing happened in the editor:
What is wrong here? How can I get Haskell-Tools to work in my Atom? Thanks very much in advance!