-
-
Notifications
You must be signed in to change notification settings - Fork 370
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Plugin] stylish-haskell formatter #146
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Is it OK to use "stylishHaskellCmd:" error message when the name of the plugin is "stylish-haskell"?
Yes, I think that is ok
6f8c980
to
a18cab6
Compare
a18cab6
to
c61f27a
Compare
@fendor Thank you for the review and answer. |
\bar (Just (Left _)) = 0\n\ | ||
\bar (Just (Right x)) = x\n" | ||
] | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While I was writing this, I thought it might be better to add a golden test facility.
Any opinions/ideas?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea, should be easy to integrate with https://hackage.haskell.org/package/tasty-golden
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will try that in a separate PR. Thank you for the suggestion :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
+ Reduce manual duplication of information shared between hover and goto-def tests + Make sure that all the information in the test specifications that relates to fiddly line and column numbers, fits together on one screen, and is generally easier to match and understand by eye.
Is it OK to use "stylishHaskellCmd:" error message when the name of the plugin is "stylish-haskell"? All existing plugins have names without "-", so I couldn't find an example for this kind of naming.
Done: