-
Notifications
You must be signed in to change notification settings - Fork 205
Quickfix action to prefix unused terms with '_' #889
Conversation
Can you please add a test for this? |
Of course! |
I thought it was already on! |
Might be set to run PRs only after they are accepted? |
The circle ci issue was on my part. I had tinkered with it on my fork. And apparently if you watch a fork it dosen't build for PRs to upstream. |
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.
This looks good to me
cmdArgs = LSP.List | ||
[ Object $ HM.fromList [("file", toJSON docUri),("pos", toJSON pos), ("text", toJSON newTerm)]] | ||
-- The command label isen't used since the command is never presented to the user | ||
cmd = LSP.Command "Unused command label" "hare:rename" (Just cmdArgs) |
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 love being able to do hare:rename
as a command.
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.
Yes! I started by importing hare, then thought wait a minute...
This resolves #843