ghcide/test
Pepe Iborra b7208a333f Smarter logic to remove redundant import bindings (#308)
* Smarter logic to remove redundant import bindings

The new code finds the spans to remove using the GHC parse tree, then manually
extends them to include commas/spaces.

Fixes #299

* Compatibility with GHC 8.4

* Improve comment

Co-Authored-By: Andreas Herrmann <42969706+aherrmann-da@users.noreply.github.com>

* Use breakOnEnd in unqualify

This will handle A.foo as well as A.B.foo

Co-authored-by: Andreas Herrmann <42969706+aherrmann-da@users.noreply.github.com>
2020-01-08 12:01:59 +01:00
..
cabal/Development/IDE/Test Enable more warnings for the ghcide codebase (#75) 2019-09-17 08:50:20 +02:00
data Add tests for #274: literals in hover info (#276) 2019-12-18 14:48:15 +01:00
exe Smarter logic to remove redundant import bindings (#308) 2020-01-08 12:01:59 +01:00
manual/lhs added unlit stage for literate Haskell source files 2019-09-11 11:56:26 +02:00
preprocessor #279, support preprocessors (#282) 2019-12-19 12:06:03 +01:00
src/Development/IDE ghcide: make tests fail on unexpected diagnostic messages (#2813) (#2823) 2019-09-10 15:01:33 +02:00