royale-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Granon" <ngra...@online.fr>
Subject About code-assist in FlashBuilder
Date Wed, 01 Nov 2017 21:22:06 GMT
As said before, getting full code-assist (along with goto definition) with
Apache Royale SDK 0.9 implies, at this time, to manually add source code
path in "build path" panel.

However, after rather extensive search, it seems that FB *should* build
automatically all that is needed regarding code-assist, with the help of the
"code model" java packages. See
https://help.adobe.com/en_US/flashbuilder/extensibility/.

I am pretty sure that some undocumented properties in SWCs allow for "auto
discovery". You will notice that *all* source code from the Flex SDK is in
fact part of the Flex SDK SWCs (some of them are password protected like
playerglobal.swc preventing them to be exposed to code assist).
I suspect that the "enable debugger2 tag" (reserved value = 6517) plays some
role, and maybe also  the "debugId" and "product info" tags.

If anyone has info about how codemodel "decides" to include - or not - a SWC
in its analysis, that would be a great bonus.

HTH

Nicolas Granon



--



Mime
View raw message