Closed Lindeneg closed 4 months ago
A property can also appear within an interface. This is valid:
:Interface i
:Property var
∇ r←get
∇
∇ set args
∇
:EndProperty
:EndInterface
A property can also appear within an interface. This is valid:
:Interface i :Property var ∇ r←get ∇ ∇ set args ∇ :EndProperty :EndInterface
ah, that I had overlooked, thanks.
Thanks @abrudz and @e9gille. :Property
is now suggested within both a :Class
and :Interface
definition
A take on issue #753
These autocomplete suggestions were already in code but they were hidden behind an
if
block and were only shown, if the previous token wasclass
ornamespace
but the latter had a typo.So I fixed the typo and also ensured that
:Property
only shows within a:Class
and:Interface
definitions.Lastly,
:Section
is available as a default suggestion, if I read the documentation correct here (p.104),:Section
are for readability and are allowed within both function and class definitions.Please forgive me if I did something stupid, I'd be more than happy to accommodate feedback.