This repository was archived by the owner on Jan 19, 2025. It is now read-only.
Library constants as default value #872
Open
Description
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)
Additional Context (optional)
Subsumes the following issues: