Optional Inputs
saivan opened this issue · 0 comments
saivan commented
Perhaps this can already be achieved with your current symbol format, but I can't seem to figure out how. I feel it would be cool to have "optional" inputs, which would render some inputs unnecessary.
For example, you have defi
and int
, but they could be merged into a single int
. The way I'd see this working is:
- When a user moves the cursor into the scope of the int, they will get the defi display
- The bounds are "optional" so they perhaps can be displayed in a different color
- When the user moves out of the scope of the defi, the optional parts will completely hide
This could be useful for a number of things, for example its quite common to write