Closed
Description
This package contains a single module, Ide.TreeTransform
, originally extracted from the tactics
plugin, that provides a rather nice API for working with ghc-exactprint.
Ghcide code actions perform a lot of stringy AST rewriting that are both an eye sore and an endless source of bugs.
I want to make it possible to use Ide.TreeTransform
in ghcide code actions, so my plan is:
- Rename
Ide.TreeTransform
toDevelopment.IDE.GHC.ExactPrint
to make it easier to discover - Move it to the ghcide package to make it usable. This is needed because
hls-exactprint-utils
depends onghcide
, soghcide
cannot depend onhls-exactprint-utils
. - Expose
Development.IDE.GHC.ExactPrint
from theghcide
package for all the other plugins to use.
@isovector @konn any objections?