Skip to content

Allow "Declare property" quick fix for enums #25129

@mjbvz

Description

@mjbvz

From @gbbarroso on June 21, 2018 1:29

The same way there's a "declare property" suggestion for classes when you use quick fix, there should be one for enums as well. Often you just want to create a new constant for an existing enum and you don't even care about the order / value, having this quick fix would save a trip back to the file containing the enum declaration.

To be clear, that's what I'm talking about:

image

Copied from original issue: microsoft/vscode#52528

Metadata

Metadata

Assignees

No one assigned

    Labels

    Domain: Quick FixesEditor-provided fixes, often called code actions.FixedA PR has been merged for this issueGood First IssueWell scoped, documented and has the green lightHelp WantedYou can do thisVS Code TrackedThere is a VS Code equivalent to this issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions