aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/haskell/ghcmod.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Suppress debug log4.8Eike Ziller2018-10-151-2/+2
| | | | | | | Follow up of qtcreator/0d640268fddb522eb48da439f995a6fade7d6e09 Change-Id: Ie6f218cbd2853f67692a29c33017eeb2c74c1b5c Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Directly restart ghc-mod if it died between lookupsEike Ziller2018-01-061-3/+10
| | | | | | | | | Before this patch it was trying to send the lookup to the dead ghc-mod and found that it didn't get a timely answer, only restarting it after that. Change-Id: I15f39c14a753af4e0c94feeee7a0c3e390d5cf33 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Propagate ghc-mod errors upEike Ziller2018-01-051-30/+34
| | | | | | | | Mostly an enabler for providing more useful information to the user in follow-up patches. Change-Id: Ia457f0f92175340fe93754df6215693d3a93dd3a Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Take unsaved modifications into accountEike Ziller2017-10-011-5/+76
| | | | | | | | For this we need to take snapshots of open and modified files within the project directory. Since we need to restart ghc-mod whenever the mapping changes, we do not remove files from the snapshot until they are actually closed, even if they stay unmodified.
* Add options page for stack executableEike Ziller2017-10-011-4/+19
|
* Add editor tooltips with type and symbol infoEike Ziller2017-10-011-0/+311
There is one ghcmod process started in a separate thread per project directory of opened files. If there are no more files open for a project, that ghcmod thread is exited. This doesn't take unsaved modifications into account.