hls-change-type-signature-plugin: Change a declarations type signature with a Code Action

[ apache, development, library ] [ Propose Tags ]


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees


Versions [RSS]
Dependencies base (>=4.12 && <5), ghcide (>=1.7 && <1.8), hls-plugin-api (>=1.3 && <1.5), lsp-types, regex-tdfa, syb, text, transformers, unordered-containers [details]
License Apache-2.0
Author Nick Suchecki
Maintainer nicksuchecki@gmail.com
Revised Revision 1 made by hls_team at 2022-05-02T18:56:25Z
Category Development
Uploaded by hls_team at 2022-04-27T09:22:20Z
Distributions NixOS:
Downloads 282 total (64 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2022-04-29 [all 1 reports]

Readme for hls-change-type-signature-plugin-

[back to package description]

Change Type Signature Plugin

The change type signature plugin provides a code action to change a user's current type signature to it's actual type signature. The plugin does not work in all error scenarios. Currently, the plugin uses GHC diagnostic messages to recover the actual type of a function. If the plugin receives enough information it can correctly change the signature.


Change Type Signature One

Change Type Signature Two


  • First Release

  • Fix 9.2 Test failures (waitForProgressDone)
  • Add extra test scenarios for error message diffs in 9.2
  • Remove regex parsing for simple Text manipulation