Skip to content

Code Cleaunup: Using directive is removed if only used by Enum #673

@finnpedersenkazes

Description

@finnpedersenkazes

Issue

The Run Code Cleanup on the Active Project command removes the Using directive if the only thing using that namespace is an Enum.

Example:

In the following line of code, the Enum::Result is the only object used from that namespace.

PaymentStatus."Decoding Status" := Enum::Result::Success;

Related issue

When removing the using it adds an empty line after the group of using directives.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions