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

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

Please see the README on GitHub at https://github.com/haskell/plugins/hls-change-type-signature-plugin/README.md


[Skip to Readme]

Properties

Versions 1.0.1.0, 1.0.1.0, 1.0.1.1, 1.1.0.0, 1.1.0.1, 2.0.0.0, 2.0.0.1, 2.1.0.0, 2.2.0.0, 2.3.0.0, 2.4.0.0, 2.5.0.0, 2.6.0.0
Change log None available
Dependencies base (>=4.12 && <5), ghcide (>=1.6 && <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
Category Development
Uploaded by hls_team at 2022-04-27T09:21:32Z

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


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

[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.

Demo

Change Type Signature One

Change Type Signature Two

Changelog

1.0.0.0

1.0.1.0