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

[ apache, development, library ] [ Propose Tags ]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Versions [RSS],,,,,,,,,,,
Dependencies base (>=4.12 && <5), containers, ghcide (==, hls-plugin-api (==, lsp-types, regex-tdfa, syb, text, transformers, unordered-containers [details]
License Apache-2.0
Author Nick Suchecki
Maintainer nicksuchecki@gmail.com
Category Development
Source repo head: git clone https://github.com/haskell/haskell-language-server.git
Uploaded by hls_team at 2024-01-15T16:12:41Z
Distributions Arch:
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 2637 total (38 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2024-01-15 [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