More Snip Tree View features!

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

Lee

Comments

  1. Abel Hernandez
    November 27th, 2008 | 12:45 pm

    Hi, lee, thaks for this excellent tutorial…

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

  2. November 27th, 2008 | 1:15 pm

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

  3. November 27th, 2008 | 1:29 pm

    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. November 27th, 2008 | 10:18 pm

    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. November 28th, 2008 | 1:32 am

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

  6. David Sjölander
    November 28th, 2008 | 2:31 am

    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. November 28th, 2008 | 2:34 am

    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
    November 28th, 2008 | 2:36 am

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

    ‘/David

  9. Ed
    November 28th, 2008 | 4:56 am

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

  10. November 28th, 2008 | 6:37 am

    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
    November 28th, 2008 | 7:13 am

    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. November 28th, 2008 | 7:32 am

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

  13. vi54
    November 28th, 2008 | 8:04 am

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

    nice work

  14. Tangent
    November 28th, 2008 | 9:40 am

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

  15. MAV
    November 28th, 2008 | 12:50 pm

    Awesome Stuff! Lee

  16. Chris Bray
    November 28th, 2008 | 1:38 pm

    Hey Lee,

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

    Thanks,
    Chris

  17. November 28th, 2008 | 6:08 pm

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

  18. November 29th, 2008 | 5:19 am

    What kind of specific needs?

  19. November 29th, 2008 | 10:03 am

    @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. November 30th, 2008 | 7:27 pm

    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. November 30th, 2008 | 7:28 pm

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

  22. Max
    December 2nd, 2008 | 3:24 am

    Thanks for this quick tutorial ;-)

  23. December 5th, 2008 | 9:27 am

    [...] Flash Blog????????? New tutorial on customizing Flex Builder More Snip Tree View features! FlashTest Eclipse Plugin Alpha Pimp My Eclipse – Part 1 Pimp My Eclipse – Part 2 Pimp My Eclipse – [...]

  24. December 11th, 2008 | 7:56 pm

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

  25. Mukul
    December 12th, 2008 | 8:45 am

    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?

  26. Mukul
    December 12th, 2008 | 9:13 am

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

  27. January 4th, 2009 | 12:49 pm

    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

Leave a reply