haskell-language-server/plugins/hls-change-type-signature-plugin
hololeap c422cf373a
Add source-repository to all cabal files (#3219)
Add a source-repository stanza to any .cabal files in the project that
are missing it.

This metadata can be useful for package maintainers.

See: https://cabal.readthedocs.io/en/stable/cabal-package.html#source-repositories

Signed-off-by: hololeap <hololeap@users.noreply.github.com>

Signed-off-by: hololeap <hololeap@users.noreply.github.com>
2022-09-24 02:50:25 +00:00
..
src/Ide/Plugin Log plugin name and attribute errors to plugins (#3194) 2022-09-21 17:36:19 +00:00
test Change Type Signature Plugin buildable with 9.4 2022-09-06 20:36:24 +05:30
change1.gif Change Type Signature Plugin (#2660) 2022-03-03 23:08:42 +00:00
change2.gif Change Type Signature Plugin (#2660) 2022-03-03 23:08:42 +00:00
hls-change-type-signature-plugin.cabal Add source-repository to all cabal files (#3219) 2022-09-24 02:50:25 +00:00
LICENSE Change Type Signature Plugin (#2660) 2022-03-03 23:08:42 +00:00
README.md Fix Change Type Signature Plugin test suite for 9.2.1 (#2761) 2022-03-07 19:51:56 +00:00

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

  • 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