File tree 2 files changed +4
-6
lines changed
plugins/hls-tactics-plugin 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -41,10 +41,8 @@ actions. These code actions are provided by GHC and make typechecking extremely
41
41
slow in the presence of typed holes. Because Wingman relies so heavily on typed
42
42
holes, these features are in great tension.
43
43
44
- The solution: we just remove the hole-fit actions. They are mostly subsumed by
45
- Wingman, and usually make extremely unhelpful suggestions, such as `replace _
46
- with id _ `. If you'd prefer to use these actions, you can get them back by
47
- disabling Wingman.
44
+ The solution: we just remove the hole-fit actions. If you'd prefer to use these
45
+ actions, you can get them back by compiling HLS without the Wingman plugin.
48
46
49
47
50
48
## Editor Configuration
Original file line number Diff line number Diff line change @@ -400,7 +400,7 @@ redundantImportTests = testGroup "redundant import code actions" [
400
400
401
401
typedHoleTests :: TestTree
402
402
typedHoleTests = testGroup " typed hole code actions" [
403
- ignoreTestBecause " Wingman changes the result of this test and I don't know how to disable Wingman " $
403
+ ignoreTestBecause " Wingman changes the result of this test when enabled " $
404
404
testCase " works" $
405
405
runSession hlsCommand fullCaps " test/testdata" $ do
406
406
doc <- openDoc " TypedHoles.hs" " haskell"
@@ -421,7 +421,7 @@ typedHoleTests = testGroup "typed hole code actions" [
421
421
, " foo x = maxBound"
422
422
]
423
423
424
- , ignoreTestBecause " Wingman changes the result of this test and I don't know how to disable Wingman " $
424
+ , ignoreTestBecause " Wingman changes the result of this test when enabled " $
425
425
testCase " shows more suggestions" $
426
426
runSession hlsCommand fullCaps " test/testdata" $ do
427
427
doc <- openDoc " TypedHoles2.hs" " haskell"
You can’t perform that action at this time.
0 commit comments