Closed buggymcbugfix closed 7 years ago
Before actually refactoring, you need to add your package to the engine. It can be done by right clicking the folder containing the haskell source file and selecting "Add to Haskell-tools". If you are developing a cabal package, you should add the folder containing your .cabal
file.
Thank you, this worked; but is this documented anywhere?
I need to qualify what I said: I did find an option "Add to Haskell-tools". I still can't refactor anything though. It just says "Refactoring", but nothing happens. I wasn't sure whether to open a new issue.
Interesting. Did you start the server before refactoring (Haskell/Start Server)? Did it show the messages in the status bar "Calculating" and "Ready"?
Hmm. It never said "Ready". It stayed on "Calculating", even though the project just contained a single file with a single function.
It is possible that another folder had been added but the client lost track of it. Please try the following:
If it does not work, please check if you can do the refactoring using the command line tool.
I try renaming the definition of
stuff
and this happens: