Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Library constants as default value #872

Open
@lukarade

Description

@lukarade

Is your feature request related to a problem?

Currently there is no way to deal with non literal constants from imported libarys as default values.

Desired solution

Extend default value form shown for @optional, @constant, and @attribute by a radio button: "library constant" and two corresponding input text fields, that are displayed if this button is checked.
First field: "module"
Second field: "declaration"
A corresponding import declaration is generated.

Possible alternatives (optional)

No response

Screenshots (optional)

grafik

Additional Context (optional)

Subsumes the following issues:

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement 💡New feature or requestepicAn issue that groups several related issues together

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions