File tree 1 file changed +0
-3
lines changed
plugins/hls-explicit-imports-plugin/src/Ide/Plugin
1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -301,14 +301,11 @@ importPackageInlayHintProvider _ state _ InlayHintParams {_textDocument = TextDo
301
301
annToPosition ann = case importDeclAnnQualified ann of
302
302
Just loc -> (srcSpanToPosition $ getHasLoc loc)
303
303
_ -> (srcSpanToPosition $ getHasLoc $ importDeclAnnImport ann)
304
-
305
304
in hsImports
306
305
& filter (\ (L _ importDecl) -> not $ isPackageImport importDecl)
307
306
& map (\ (L _ importDecl) ->
308
307
(annToPosition $ anns $ ideclAnn $ ideclExt importDecl, unLoc $ ideclName importDecl))
309
308
310
-
311
-
312
309
-- | For explicit imports: If there are any implicit imports, provide both one
313
310
-- code action per import to make that specific import explicit, and one code
314
311
-- action to turn them all into explicit imports. For refine imports: If there
You can’t perform that action at this time.
0 commit comments