AS3 AutoComplete - No joy

View: New views
3 Messages — Rating Filter:   Alert me  

AS3 AutoComplete - No joy

by Gaby vanhegan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

After reading through the comments here:

        http://blog.simongregory.com/09/as3-autocompletion-in-textmate/

I have so far failed to get any good looking AS3 autocomplete.  What  
do I need to do to work out what's going wrong?  I am getting this  
when I press Alt-Esc:

        please select a class to locate the package for

Here's my sample code:

                 var s:Sprite = new Sprite();
        s.(here I press Alt-Esc and get the tooltip)

I can't find the TM log file to look for errors.  I have soft linked  
my Flex SDK into /Developer/SDKs/flex_sdk_3 as suggested in the  
comments on the original thread but I cant make it go.  Any suggestions?

Thanks,

Gaby.

--
Sent from my email program on my computer sitting on my desk in my  
house.
http://playr.co.uk/


_______________________________________________
textmate mailing list
textmate@...
http://lists.macromates.com/listinfo/textmate

Re: AS3 AutoComplete - No joy

by Simon Gregory :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> I have so far failed to get any good looking AS3 autocomplete.  What
> do I need to do to work out what's going wrong?  I am getting this
> when I press Alt-Esc:
>
> please select a class to locate the package for

The auto completion you're trying to invoke is scope sensitive and  
will only work within a public class. Judging from the message you're  
seeing I'd say you were within a package statement, ie the bundles  
expecting you to be completing an import declaration.

Cheers,
Simon

_______________________________________________
textmate mailing list
textmate@...
http://lists.macromates.com/listinfo/textmate

Re: AS3 AutoComplete - No joy

by Gaby vanhegan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 29 Jun 2009, at 21:24, Simon Gregory wrote:

I have so far failed to get any good looking AS3 autocomplete.  What
do I need to do to work out what's going wrong?  I am getting this
when I press Alt-Esc:

please select a class to locate the package for

The auto completion you're trying to invoke is scope sensitive and  
will only work within a public class. Judging from the message you're  
seeing I'd say you were within a package statement, ie the bundles  
expecting you to be completing an import declaration.

I see.  I't trying to get the nice Dialog2 popup window for function completion.  Is there something different I need to be doing?  I suspect I'm just hitting the wrong keyboard shortcut.  Here's a tester of what I'm doing:

package {
import flash.display.Sprite;
public class GabyTest extends Sprite {
public function GabyTest ( ) : void {
this.graphics.(press Alt-Esc)
}
}
}

And I still get the same error message.  Most likely the problem is between the screen and the seat, I'm hoping you can help! :)

G.

-- 

Uganda Maximum - Enemy of the English Thrust

http://www.playr.co.uk/





_______________________________________________
textmate mailing list
textmate@...
http://lists.macromates.com/listinfo/textmate