attrap icon indicating copy to clipboard operation
attrap copied to clipboard

ATtempt To Repair At Point (emacs flycheck extension)

Results 11 attrap issues
Sort by recently updated
recently updated
newest added

The `LambdaCase` and `ScopedTypeVariables` extensions are typically not suggested by ghc in the form e.g. `did you mean to enable LambdaCase` so just looknig for extension name in the error...

When GHC suggests hole fits it uses the template identifier :: type However, sometimes `type` contains colons too, for example foo :: Foo (p :: ADataKind) The previous regex matched...

Delete the `require` form for flycheck, and declare the needed functions from the flycheck and flymake packages. These changes enable users who prefer flymake to install attrap without installing flycheck....

Auto fix for ghc suggestions is very nice. The auto fix behavior could get even beefier by supporting hlint fixes.

I think the README would benefit from examples and maybe even before/after screenshots.

When attempting to repair a missing constraint, we end up with curried constraints: ```haskell foo :: (A, B) => C -> D bar :: C -> D bar c =...

It would be great if `attrap` supported the haskell `hlint` checker. There is already [hlint-refactor-mode](https://github.com/mpickering/hlint-refactor-mode/blob/master/hlint-refactor.el), which implements this, but it's great to see a more general solution for supporting refactoring...

PHP CodeSniffer (phpcs) is integrated with FlyCheck. Some of the issues it finds can be fixed with phpcbf. It would be nice if this tool could get the fix needed...

They should really use `attrap-one-option` but I don't see a way to achieve that with minimum changes.

* attrap.el (attrap-LaTeX-fixer): Add new fixers for intersentence spacing, enclosing parentheses with braces, and fixing punctuation in front of quotes.