Skip to content

Sorting is done before "Remove Empty Lines" #15

Description

@goran-w

This means we have to do selection + "Format Includes" twice, if we want to sort (and remove duplicates) across all groups of includes in the selection.

Currently, each group is individually sorted (and pruned from duplicates) since the sorting is done before removing the empty lines between groups. Doing the line removal before sorting would fix this issue and make the behavior more like what could be expected when the settings indicate "remove empty lines, sort and remove duplicates".

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions