One other note to those trying to set this up; The library needs to be
setup like in the screenshot below to get open declaration(middle mouse
button) and documentation asdocs(CTRL - Q) to show correctly.

Select LibrarySource for all paths;
http://snag.gy/0nEcL.jpg

Setup correct;
http://snag.gy/SyzA4.jpg

The you get nice asdocs for all FlexJS;
http://snag.gy/GvfgR.jpg

And new in IJ 4.1 ! Awesome debugging, you can see the values to the right
of all properties and variables, Alex this is one reason to use IJ for dev.
http://snag.gy/6O3vr.jpg

Mike

On Thu, May 14, 2015 at 10:16 AM, Michael Schmalle <
teotigraphix...@gmail.com> wrote:

> The Flex SDK is where IJ picks up the fx namespace and the FlexJS SWCS is
> where it gets the js namespaces. So we are totally hack right now but, it's
> workable.
>
> Mike
>
> On Thu, May 14, 2015 at 10:15 AM, Michael Schmalle <
> teotigraphix...@gmail.com> wrote:
>
>> Make sure you have a valid Flex SDK selected for the modules's SDK, the
>> FlexJS won't work right now.
>>
>> On Thu, May 14, 2015 at 10:13 AM, Frédéric THOMAS <
>> webdoubl...@hotmail.com> wrote:
>>
>>> Didn't work on mine :(
>>>
>>> http://snag.gy/bc79p.jpg
>>>
>>> Frédéric THOMAS
>>>
>>> > Date: Thu, 14 May 2015 09:58:27 -0400
>>> > Subject: Re: [FlexJS] IntelliJ Integration
>>> > From: teotigraphix...@gmail.com
>>> > To: dev@flex.apache.org
>>> >
>>> > I pressed Alt+Enter and IJ inserted <mx:Script> at the bottom of the
>>> > document, I moved it to where it is in the screenshot and all is fine
>>> on my
>>> > end.
>>> >
>>> > http://snag.gy/vAlz2.jpg
>>> >
>>> > Mike
>>> >
>>> > On Thu, May 14, 2015 at 9:53 AM, Frédéric THOMAS <
>>> webdoubl...@hotmail.com>
>>> > wrote:
>>> >
>>> > > Yep would be nice :-)
>>> > >
>>> > > One thing I noticed though, is in the js:Application:
>>> > > initialize="MyModel(model).stockSymbol='ADBE'"
>>> > >
>>> > >
>>> > > It is not reconized and once imported, IJ complaines the fx:Script
>>> element
>>> > > is not allowed here, an idea ?
>>> > >
>>> > > Ok, I'm asking too much now :-)
>>> > >
>>> > > Frédéric THOMAS
>>> > >
>>> > > > Date: Thu, 14 May 2015 09:47:49 -0400
>>> > > > Subject: Re: [FlexJS] IntelliJ Integration
>>> > > > From: teotigraphix...@gmail.com
>>> > > > To: dev@flex.apache.org
>>> > > >
>>> > > > Yes, exactly!
>>> > > >
>>> > > > Just imagine what we had with Randori and have it with FlexJS, the
>>> > > > warning/error pane that instantly went to to line number. :)
>>> > > >
>>> > > > Oh well, we can dream right!
>>> > > >
>>> > > > Mike
>>> > > >
>>> > > > On Thu, May 14, 2015 at 9:42 AM, Frédéric THOMAS <
>>> > > webdoubl...@hotmail.com>
>>> > > > wrote:
>>> > > >
>>> > > > > That's great Mike we can work with IJ now even though the
>>> workflow is
>>> > > not
>>> > > > > standard / smooth that's a good tradeoff waiting for more closer
>>> IJ
>>> > > > > integration.
>>> > > > >
>>> > > > > Thanks again,
>>> > > > > Frédéric THOMAS
>>> > > > >
>>> > > > > > From: webdoubl...@hotmail.com
>>> > > > > > To: dev@flex.apache.org
>>> > > > > > Subject: RE: [FlexJS] IntelliJ Integration
>>> > > > > > Date: Thu, 14 May 2015 14:38:32 +0100
>>> > > > > >
>>> > > > > > > 1. I downloaded the latest nightly
>>> > > > > >
>>> > > > > > It is not mandatory, it works with the one of the last weeks
>>> at me.
>>> > > > > >
>>> > > > > > Thanks
>>> > > > > > Frédéric THOMAS
>>> > > > > >
>>> > > > > > > Date: Thu, 14 May 2015 09:31:52 -0400
>>> > > > > > > Subject: Re: [FlexJS] IntelliJ Integration
>>> > > > > > > From: teotigraphix...@gmail.com
>>> > > > > > > To: dev@flex.apache.org
>>> > > > > > >
>>> > > > > > > Fred I am using the Flex SDK debugger in 4.14.0
>>> > > > > > >
>>> > > > > > > 1. I downloaded the latest nightly
>>> > > > > > > 2. I built it, took about 4 minutes, the AIR sdk for me takes
>>> > > awhile to
>>> > > > > > > download. (ant -f installer.xml)
>>> > > > > > > 3. Create a new project and followed this video;
>>> > > > > > >
>>> > > > > > > https://www.youtube.com/watch?v=NBJEjIcfNs8
>>> > > > > > >
>>> > > > > > > This is my debug target;
>>> > > > > > >
>>> > > > > > > http://snag.gy/3m5Ua.jpg
>>> > > > > > >
>>> > > > > > > Other than that it just works, took me about 3 hours to get
>>> to this
>>> > > > > point.
>>> > > > > > >
>>> > > > > > > the FLEX_HOME and FALCON_HOME screwed me up until I realized
>>> I had
>>> > > it
>>> > > > > set
>>> > > > > > > wrong because it was still pointing to the locations I
>>> needed for
>>> > > the
>>> > > > > > > actuall compiler build. Once I change them to point to the
>>> nightly
>>> > > > > built
>>> > > > > > > FlexJS directory, it worked.
>>> > > > > > >
>>> > > > > > > Mike
>>> > > > > > >
>>> > > > > > >
>>> > > > > > > On Thu, May 14, 2015 at 9:23 AM, Frédéric THOMAS <
>>> > > > > webdoubl...@hotmail.com>
>>> > > > > > > wrote:
>>> > > > > > >
>>> > > > > > > > Hi Mike,
>>> > > > > > > >
>>> > > > > > > > You should be able to use a normal lib instead, good catch
>>> !!
>>> > > > > > > >
>>> > > > > > > > What are the steps to debug inside IJ ? on mine, it
>>> doesn't stop,
>>> > > > > maybe I
>>> > > > > > > > should update the FlexJS SDK ? I didn't follow the last
>>> posts0
>>> > > > > > > >
>>> > > > > > > > Thanks,
>>> > > > > > > > Frédéric THOMAS
>>> > > > > > > >
>>> > > > > > > > > Date: Thu, 14 May 2015 09:07:47 -0400
>>> > > > > > > > > Subject: Re: [FlexJS] IntelliJ Integration
>>> > > > > > > > > From: teotigraphix...@gmail.com
>>> > > > > > > > > To: dev@flex.apache.org
>>> > > > > > > > >
>>> > > > > > > > > YES! This screenshot should make all IntelliJ users
>>> happy that
>>> > > > > want to
>>> > > > > > > > get
>>> > > > > > > > > the full meal deal with FlexJS.
>>> > > > > > > > >
>>> > > > > > > > > http://snag.gy/iLLrP.jpg
>>> > > > > > > > >
>>> > > > > > > > > - MXML/ActionScript code completion
>>> > > > > > > > > - MXML strucutre view
>>> > > > > > > > > - Breakpoints working for SWF build
>>> > > > > > > > > - and the rest of the IntelliJ goodness.
>>> > > > > > > > >
>>> > > > > > > > > The secret sauce "for now" with code completion is make a
>>> > > global
>>> > > > > library,
>>> > > > > > > > > add all the SWCs to it and include that in your module,
>>> voila,
>>> > > you
>>> > > > > have
>>> > > > > > > > > code completion.
>>> > > > > > > > >
>>> > > > > > > > > Mike
>>> > > > > > > > >
>>> > > > > > > > >
>>> > > > > > > > > On Thu, May 14, 2015 at 8:22 AM, Michael Schmalle <
>>> > > > > > > > teotigraphix...@gmail.com
>>> > > > > > > > > > wrote:
>>> > > > > > > > >
>>> > > > > > > > > > I tried everything you guys are doing and get;
>>> > > > > > > > > >
>>> > > > > > > > > >
>>> > > > > > > > > >
>>> > > C:\Users\Teoti\Documents\ApacheFlex\FlexJS-Nightly\bin\mxmlc.bat
>>> > > > > > > > > > -debug=true
>>> > > > > > > > > >
>>> > > > > > > >
>>> > > > >
>>> > >
>>> C:\Users\Teoti\Documents\ApacheFlex\FlexJS-Nightly\examples\DataBindingTest\src\MyInitialView.mxml
>>> > > > > > > > > > Using Falcon codebase:
>>> > > > > > > > > >
>>> > > > >
>>> C:\Users\Teoti\Documents\ApacheFlex\falcon\compiler\generated\dist\sdk
>>> > > > > > > > > > Using Flex SDK: C:\Users\Teoti\Documents\ApacheFlex\sdk
>>> > > > > > > > > > Loading configuration:
>>> > > > > > > > > >
>>> > > > >
>>> C:\Users\Teoti\Documents\ApacheFlex\sdk\frameworks\flex-config.xml
>>> > > > > > > > > >
>>> > > > > > > > > >
>>> > > > > > > > > >
>>> > > > > > > >
>>> > > > >
>>> > >
>>> C:\Users\Teoti\Documents\ApacheFlex\FlexJS-Nightly\examples\DataBindingTest\src\MyInitialView.mxml:20
>>> > > > > > > > > > Error: This tag could not be resolved to an
>>> ActionScript
>>> > > class.
>>> > > > > It
>>> > > > > > > > will be
>>> > > > > > > > > > ignored.
>>> > > > > > > > > > <js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009";
>>> > > > > > > > > > ^
>>> > > > > > > > > >
>>> > > > > > > > > >
>>> > > > > > > > > > Process finished with exit code 2
>>> > > > > > > > > >
>>> > > > > > > > > > I don't know why it's trying to load the wrong
>>> flex-config
>>> > > and
>>> > > > > you guys
>>> > > > > > > > > > have it working.
>>> > > > > > > > > >
>>> > > > > > > > > >
>>> > > > > > > > > >
>>> > > > > > > > > > On Thu, May 14, 2015 at 6:48 AM, kevin.godell <
>>> > > > > kevin.god...@gmail.com>
>>> > > > > > > > > > wrote:
>>> > > > > > > > > >
>>> > > > > > > > > >> Alex Harui wrote
>>> > > > > > > > > >> > On 5/13/15, 10:10 PM, "piotrz" <
>>> > > > > > > > > >>
>>> > > > > > > > > >> > piotrzarzycki21@
>>> > > > > > > > > >>
>>> > > > > > > > > >> > > wrote:
>>> > > > > > > > > >> >
>>> > > > > > > > > >> >>Mike,
>>> > > > > > > > > >> >>
>>> > > > > > > > > >> >>Great idea to reach someone from Jetbrains we
>>> really need
>>> > > > > some help
>>> > > > > > > > from
>>> > > > > > > > > >> >>that point from them. Thank you!
>>> > > > > > > > > >> >
>>> > > > > > > > > >> > Alexander Doroshko is still subscribed as of April
>>> so
>>> > > maybe
>>> > > > > he just
>>> > > > > > > > > >> hasn’t
>>> > > > > > > > > >> > noticed this thread.
>>> > > > > > > > > >> >
>>> > > > > > > > > >> >>
>>> > > > > > > > > >> >>Maybe I will describe our current problems:
>>> > > > > > > > > >> >>
>>> > > > > > > > > >> >>1) We have successfully configured External Tools
>>> both on
>>> > > Mac
>>> > > > > OSX
>>> > > > > > > > > >> (Thanks
>>> > > > > > > > > >> >>Kevin!) and Win [1]
>>> > > > > > > > > >> >>2) Once we use FlexJS in section "Use debugger from
>>> SDK"
>>> > > we
>>> > > > > are
>>> > > > > > > > getting
>>> > > > > > > > > >> >>following error [2]
>>> > > > > > > > > >> >>3) Once we change it in section "Use debugger from
>>> SDK"
>>> > > from
>>> > > > > FlexJS
>>> > > > > > > > to
>>> > > > > > > > > >> >>Flex
>>> > > > > > > > > >> >>SDK our debugger is working fine. Take a look at
>>> film
>>> > > created
>>> > > > > by
>>> > > > > > > > Kevin
>>> > > > > > > > > >> [3]
>>> > > > > > > > > >> >>especially at 3:48 and compare console output with
>>> mine
>>> > > from
>>> > > > > FlexJS.
>>> > > > > > > > > >> >>-classpath in mine output is different.
>>> > > > > > > > > >> >
>>> > > > > > > > > >> > Have you tried the latest combination of changing
>>> the
>>> > > version
>>> > > > > of
>>> > > > > > > > > >> > flex-sdk-description.xml in the FlexJS  folder as
>>> well as
>>> > > > > copying
>>> > > > > > > > the
>>> > > > > > > > > >> > fdb.jar, swfutils.jar and asc.jar from the Flex SDK?
>>> > > > > > > > > >> >
>>> > > > > > > > > >> > Thanks,
>>> > > > > > > > > >> > -Alex
>>> > > > > > > > > >>
>>> > > > > > > > > >> I tried it with the 3 files copied and the
>>> > > > > flex-sdk-description.xml
>>> > > > > > > > edited
>>> > > > > > > > > >> to show 4.15.0. Still failed, but atleast the error
>>> message
>>> > > got
>>> > > > > > > > smaller:
>>> > > > > > > > > >>
>>> > > > > > > > > >>
>>> > > > > > > >
>>> > > > >
>>> > >
>>> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java
>>> > > > > > > > > >> -d32
>>> > > > > > > > > >>
>>> > > > > > > > > >>
>>> > > > > > > >
>>> > > > >
>>> > >
>>> -Dapplication.home=/Users/kevinGodell/Documents/flexJS-nightly_air-17_fp-17
>>> > > > > > > > > >> -Dfile.encoding=UTF-8 -Djava.awt.headless=true
>>> > > > > -Duser.language=en
>>> > > > > > > > > >> -Duser.region=en -Xmx512m -classpath
>>> "/Applications/IntelliJ
>>> > > > > IDEA
>>> > > > > > > > > >>
>>> > > > > > > > > >>
>>> > > > > > > >
>>> > > > >
>>> > >
>>> 14.app/Contents/plugins/flex/lib/idea-fdb-4.0.0.14159-fix.jar:/Users/kevinGodell/Documents/flexJS-nightly_air-17_fp-17/lib/fdb.jar"
>>> > > > > > > > > >> flex.tools.debugger.cli.DebugCLI
>>> > > > > > > > > >> Exception in thread "main"
>>> java.lang.IllegalAccessError:
>>> > > tried
>>> > > > > to
>>> > > > > > > > access
>>> > > > > > > > > >> method flex.tools.debugger.cli.FaultActions.<init>()V
>>> from
>>> > > class
>>> > > > > > > > > >> flex.tools.debugger.cli.DebugCLI
>>> > > > > > > > > >>         at
>>> > > > > flex.tools.debugger.cli.DebugCLI.<init>(DebugCLI.java:381)
>>> > > > > > > > > >>         at
>>> > > > > flex.tools.debugger.cli.DebugCLI.main(DebugCLI.java:318)
>>> > > > > > > > > >> java.io.IOException: Stream closed
>>> > > > > > > > > >>
>>> > > > > > > > > >>
>>> > > > > > > > > >>
>>> > > > > > > > > >> --
>>> > > > > > > > > >> View this message in context:
>>> > > > > > > > > >>
>>> > > > > > > >
>>> > > > >
>>> > >
>>> http://apache-flex-development.2333347.n4.nabble.com/Re-FlexJS-IntelliJ-Integration-tp46486p46504.html
>>> > > > > > > > > >> Sent from the Apache Flex Development mailing list
>>> archive
>>> > > at
>>> > > > > > > > Nabble.com.
>>> > > > > > > > > >>
>>> > > > > > > > > >
>>> > > > > > > > > >
>>> > > > > > > >
>>> > > > > > > >
>>> > > > > >
>>> > > > >
>>> > > > >
>>> > >
>>> > >
>>>
>>>
>>
>>
>

Reply via email to