Enum values in [Inspectable] and [Style] metadata are definitely handled by VSCode's MXML completion when they're available. I can see it working for both Flex and Feathers projects.
Like Alex suggested, the -keep-as3-metadata+=Inspectable compiler option may help. -- Josh Tynjala Bowler Hat LLC <https://bowlerhat.dev> On Mon, Jan 20, 2020 at 9:31 AM Harbs <harbs.li...@gmail.com> wrote: > A little OT, but this commit jogged my memory… > > What can we do about getting [Inspectable] tags working for tooling in > MXML? > > IIRC, last time I asked Josh, he told me there was something missing from > the compiler to enable code intelligence from these tags. I don’t remember > the details. > > Harbs > > > On Jan 20, 2020, at 7:25 PM, aha...@apache.org wrote: > > > > This is an automated email from the ASF dual-hosted git repository. > > > > aharui pushed a commit to branch develop > > in repository https://gitbox.apache.org/repos/asf/royale-asjs.git > > > > > > The following commit(s) were added to refs/heads/develop by this push: > > new 3ef5abc UIComponent.enable needs to be bindable. Should fix > #675 > > 3ef5abc is described below > > > > commit 3ef5abc7ede3c036ee10e3baf2710a4d8683eba9 > > Author: Alex Harui <aha...@apache.org> > > AuthorDate: Mon Jan 20 09:24:48 2020 -0800 > > > > UIComponent.enable needs to be bindable. Should fix #675 > > --- > > frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git > a/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as > b/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as > > index 57a6ea6..ecdd879 100644 > > --- a/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as > > +++ b/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as > > @@ -1302,6 +1302,7 @@ public class UIComponent extends UIBase > > private var _enabled:Boolean = true; > > > > [Inspectable(category="General", enumeration="true,false", > defaultValue="true")] > > + [Bindable("disabledChange")] > > > > /** > > * @copy mx.core.IUIComponent#enabled > > > >