Don't know. Right now, you can set up an FB project with the "JS" SWCs
and not see Flash APIs in the intelligence. But I'm not clear that FB
allows for any switches/options in how it gets the data for code
intelligence. I think Josh is saying he might use the first target. I
will see if that wo
Sounds great! Looking forward!
Harbs
> On Jul 7, 2017, at 2:12 AM, Josh Tynjala wrote:
>
> Okay, I figured out how to make VSCode switch to JS APIs instead of SWF
> APIs for completion and things. In the next version of the extension, when
> the targets compiler option is specified in asconfig.
Alex,
Do you mean by teaching compiler that if I use -target=JSFlex - I will not
see flash api hints in intellisence ?
Thanks,
Piotr
-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context:
http://apache-flex-development.247.n4.nabble.com/FlexJS-VS-Code-dual
The AS/MXML code intelligence in VSCode instantiates certain classes from
the compiler to get the data it needs. Previously, I was instantiating a
FlexProject no matter which targets were specified. Now, I instantiate a
FlexJSProject when I'm sure that JS should have a higher priority than SWF
(bas
I agree, it will be great to get JS API code-intelligence.
Just out of curiosity, what did you have to change? One work item for the
future is to merge the "JS" SWC into the "SWF" SWC so there is only one
SWC per library instead of the current pair like Core.SWC and CoreJS.swc.
I'm trying to asse
Okay, I figured out how to make VSCode switch to JS APIs instead of SWF
APIs for completion and things. In the next version of the extension, when
the targets compiler option is specified in asconfig.json, and the first
value isn't "SWF", the extension will offer JS APIs. That includes giving
you a
> The js-output-type, library-path and external-library-path options are
probably not needed
I would get rid of -js-output-type. I assume that -targets takes
precedence, but just to be safe, you shouldn't use both. -js-output-type is
necessary for 0.7.0, but switch entirely to -targets with 0.8.0.
Since updating to “dual”has been reporting lots of errors. When I build, both
the debug and release builds build correctly, but the PROBLEMS window and the
live code hinting report lots of (non) issues. I’m not sure what the source of
the errors are, but here are the details:
I’ve tried a few v