aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Adapt to Qt Creator changes4.6Eike Ziller2018-02-174-6/+15
| | | | | | | In hover handler and run configuration factory Change-Id: Ib60db43560e8485ce9b5a8f9ddcb703382a0ef70 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* 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>
* Show error in editor if stack cannot be runEike Ziller2018-01-065-3/+48
| | | | | | | With the option to open the configuration page. Change-Id: I4895e27648d5e161fd0c9b617723f7fdd6853248 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Propagate ghc-mod errors upEike Ziller2018-01-056-65/+87
| | | | | | | | 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>
* Adapt to upstream run configuration factory changeEike Ziller2017-12-201-1/+1
| | | | | | | Changed to IDs in qt-creator/4a66cae8545cd58cf9d3006a2bad91845cffa14b Change-Id: Ie6eb2d53df8735f7fa78baa3a9f885192593f950 Reviewed-by: hjk <hjk@qt.io>
* Adapt to upstream build config and Utils::Link changeshjk2017-12-1110-117/+52
| | | | | Change-Id: Ib3f470b1d3df47b90f054ef1e006927b9ee675ca Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Adapt to upstream API changes for run configuration factoriesEike Ziller2017-11-274-66/+14
| | | | | | Change-Id: Ifc984f3eff16d109923db33f87906c49765f7864 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io> Reviewed-by: hjk <hjk@qt.io>
* Add READMEEike Ziller2017-10-041-0/+24
|
* Add toplevel .pro file and .qbs fileEike Ziller2017-10-033-0/+44
|
* Initial Haskell project supportEike Ziller2017-10-0112-4/+892
| | | | | | | Shows all files from the file system tree around the .cabal file. Provides a simple build configuration with "stack build" step. Provides a simple run configuration with "stack exec" for each "executable" entry.
* Support "Follow Symbol Under Cursor"Eike Ziller2017-10-019-29/+403
|
* Take unsaved modifications into accountEike Ziller2017-10-015-8/+290
| | | | | | | | 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-0110-8/+255
|
* Add editor tooltips with type and symbol infoEike Ziller2017-10-0112-4/+901
| | | | | | | 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.
* Add highlighterEike Ziller2017-10-018-2/+1681
| | | | | See lexical structure of Haskell https://www.haskell.org/onlinereport/haskell2010/haskellch2.html
* Provide snippet groupEike Ziller2017-10-016-12/+114
|
* Add (un)commentingEike Ziller2017-10-011-0/+3
|
* Register a haskell editor factoryEike Ziller2017-10-014-3/+98
|
* Start with dummy pluginEike Ziller2017-10-017-0/+249