Skip to content

haskell-process-suggest-remove-import leaves blank line rather than completely remove it #1109

Open
@geraldus

Description

@geraldus

Current implementation of haskell-suggest-remove-import just clears line contents but do not removes it when user answers y. I propose to remove entire line, e.g.

import A
import D -- ^ this import is redundant
import B

-- current behavior
import A

import B

-- proposed
import A
import B

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions