More Snip Tree View features!

I just found out it CAN do variable substitution like TextMate! Check out the video below.

Lee


Commentary

  1. Abel Hernandez says:

    Hi, lee, thaks for this excellent tutorial…

    Do you think that this variable works for the name of document class for Project Builder

  2. Schell says:

    Hey, rad! I’m still sticking with TM though ;)

  3. Can you help me please :)
    On http://www.hm.com if you resize a window you’ll always get clear image as a background.
    How can I do that? When i put a 100% by 100% my image is stretched on higher resolutions…
    Send me an E-Mail at miss-nelly@live.com or MSN or whatever… thanks in advance :D

  4. jassa says:

    I’m having trouble installing the CFEclipse features – seems I have some missing patches or something. (Eclipse RCP Patch for 3.1.1…)

    Is anybody else experiencing this?

    Cheers,
    Jassa

  5. dada says:

    but where is this Snip Tree View panel? I cannot fint it in my FB 3.

  6. David Sjölander says:

    Thanks a lot for these tutorials, I’ve been looking for a snippets plugin but didn’t find any. Maybe there should be a web site where people can share their AS3 snippets.

    Here is one that will save me lot of time:

    private var _$${variable}:$${type};
    public function get $${variable} ():$${type}{
    return _$${variable};
    }
    public var set $${variable}(value:$${type}):void{
    _$${variable}=value;
    }

    /David

  7. Petr says:

    Thx for this nice tutorial.

    I tried snippets in cfEclipse and I found some interesing features in snippet templates.
    You can specify default values in variables, eq:

    – snippet –
    // this is comment $${funcName:Foo}

    If you want more than one default value, you can:
    // this is comment $${funcName:Foo|Bar|Barr2}

  8. David Sjölander says:

    Sorry the setter should of course be like this:
    public function set $${variable}(value:$${type}):void{
    _$${variable}=value;
    }

    ‘/David

  9. Ed says:

    Hi, lee, great tutorial, just wondering if you know where I can backup the snips as I format my system every few months…

  10. Slav says:

    Excellent work Lee, I have resisted using FB as my main AS3 editor for some time, one of the reasons being it didn’t supported snipplets as FDT did (with “templates”).
    So this is great, but is there any way to get it working in MXML editor when editing inside of tag as well ?

  11. Stu says:

    Hey Lee, thanks for that – I’m loving the extra functionality, in theory it will save me a lot of time. Unfortunately though I’ve had no end of trouble trying to install Snip Tree, in fact I had to do it manually in the end…and now FB is constantly churning out errors at me. I love it in theory though!!

  12. DaveFlash says:

    @Nella Perovich, I might have a solution, send in you specific needs, and I maybe able to help you.

  13. vi54 says:

    send this over to adobe and try to ‘finally’ get this feature in the actionscript editor.

    nice work

  14. Tangent says:

    That’s the plug-in I have been looking for. Where can I find/download it?

  15. MAV says:

    Awesome Stuff! Lee

  16. Chris Bray says:

    Hey Lee,

    Your tutorials are fantastic! I was wondering what tool you use to do the capture?

    Thanks,
    Chris

  17. brad says:

    I have flex 3 but cannot find the snip tree view anywhere. Can someone tell me where it is?

  18. What kind of specific needs?

  19. Dave Wouters says:

    @Tangent get it here: http://www.cfeclipse.org/download.cfm, you will need to enter the url listed on that page, as new remote site in Flex. (help menu >> Software Updates >> Find and Install, then “Search for new features to install”)

    @Chris Bray I think (or almost certainly know) that Lee, is using iShowU.

    @Brad, you’ll have to watch his last/latest tutorial (http://www.gotoandlearn.com/play?id=94), there he’s explaining how to get the snippet tree view, good luck.

  20. brad says:

    hmm, lee doesnt seem to explain how to get it with the link you provided, and I can’t find info on it anywhere..

  21. brad says:

    sorry, my bad :( I got it, thanks!

  22. Max says:

    Thanks for this quick tutorial ;-)

  23. Clemente G says:

    Nice man, I was just about to google doing substitutions then boom, new tutorial. Thanks. You make me great =D

  24. Mukul says:

    Hi Lee, thanks for the great tutorials. I’ve been trying to get this working for a few hours now and no luck. At first the Snip Tree View would not load up (I’m using Ganymede BTW) I got that sorted out by updating my JRE, but for some reason it only works in the CFEclipse perspective. Even though I’ve gone in and changed the Keys “Insert Snippet” properties as you indicated to trigger when “Editing Text”. Is there something else I should be aware of?

  25. Mukul says:

    Actually it only seems to work with .cfm files. Does anyone else see this behavior?

  26. Cesar says:

    hi Lee …

    I’ve a problem with this, it was working perfect yesterday but I got a adobe update and it stop working don’t know why…

    any idea or how can i uninstall it and install it again and see if it start working again

  1. [... I just found out it CAN do variable substitution like TextMate! Check out the video below. Lee

Leave a Comment