You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"module A where", "import qualified Control.Monad as M (join)", "f = M.joi"]
3512
+
, testGroup "Data constructor"
3513
+
[ completionCommandTest
3514
+
"not imported"
3515
+
["module A where", "import Text.Printf ()", "ZeroPad"]
3516
+
(Position24)
3517
+
"ZeroPad"
3518
+
["module A where", "import Text.Printf (FormatAdjustment (ZeroPad))", "ZeroPad"]
3519
+
, completionCommandTest
3520
+
"parent imported"
3521
+
["module A where", "import Text.Printf (FormatAdjustment)", "ZeroPad"]
3522
+
(Position24)
3523
+
"ZeroPad"
3524
+
["module A where", "import Text.Printf (FormatAdjustment (ZeroPad))", "ZeroPad"]
3525
+
, completionCommandTest
3526
+
"already imported"
3527
+
["module A where", "import Text.Printf (FormatAdjustment (ZeroPad))", "ZeroPad"]
3528
+
(Position24)
3529
+
"ZeroPad"
3530
+
["module A where", "import Text.Printf (FormatAdjustment (ZeroPad))", "ZeroPad"]
3531
+
]
3532
+
, testGroup "Record completion"
3533
+
[ completionCommandTest
3534
+
"not imported"
3535
+
["module A where", "import Text.Printf ()", "FormatParse"]
3536
+
(Position210)
3537
+
"FormatParse {"
3538
+
["module A where", "import Text.Printf (FormatParse (FormatParse))", "FormatParse"]
3539
+
, completionCommandTest
3540
+
"parent imported"
3541
+
["module A where", "import Text.Printf (FormatParse)", "FormatParse"]
3542
+
(Position210)
3543
+
"FormatParse {"
3544
+
["module A where", "import Text.Printf (FormatParse (FormatParse))", "FormatParse"]
3545
+
, completionCommandTest
3546
+
"already imported"
3547
+
["module A where", "import Text.Printf (FormatParse (FormatParse))", "FormatParse"]
3548
+
(Position210)
3549
+
"FormatParse {"
3550
+
["module A where", "import Text.Printf (FormatParse (FormatParse))", "FormatParse"]
3489
3551
]
3490
3552
],
3491
3553
-- we need this test to make sure the ghcide completions module does not return completions for language pragmas. this functionality is turned on in hls
0 commit comments