Description
Change a declarations type signature with a Code Action.
Description
Please see the README on GitHub at https://github.com/haskell/plugins/hls-change-type-signature-plugin/README.md
README.md
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
Changelog
1.0.0.0
- First Release
1.0.1.0
- Fix 9.2 Test failures (
waitForProgressDone
) - Add extra test scenarios for error message diffs in 9.2
- Remove regex parsing for simple
Text
manipulation.