Currently Reading

Image of Derivatives Demystified: A Step-by-Step Guide to Forwards, Futures, Swaps and Options (The Wiley Finance Series)

Image of Working Effectively with Legacy Code (Robert C Martin)

Image of Coders at Work: Reflections on the Craft of Programming

Image of Succeeding with Agile: Software Development Using Scrum (Addison-Wesley Signature)

Recently Read

Image of Beginning iPhone 3 Development: Exploring the iPhone SDK

Image of Test Driven Development (The Addison-Wesley Signature Series)

Image of Refactoring: Improving the Design of Existing Code (Object Technology Series)

Image of UML 2 for Dummies

Image of Test Driven: TDD and Acceptance TDD for Java Developers

Image of ActionScript 3.0 Design Patterns: Object Oriented Programming Techniques (Adobe Developer Library)

Image of Advanced Actionscript 3 with Design Patterns

Image of iPhone Advanced Projects (Books for Professionals by Professionals)

Image of The Secrets of Consulting: A Guide to Giving and Getting Advice Successfully

Image of Cloud Atlas


August 19, 2009

Getting snippets to work with FlashBuilder Beta

Filed under: Flex — Anthony @ 10:40 am

Just a quick note here. I use the excellent snippet plugin from Lee Brimlow over at the theFlashBlog so that i don't have to put up with all the cfeclipse icons across the top of my toolbar. But I recently installed a beta version of FlashBuilder and found that when i installed the plugin it would no longer work. After much searching i found the solution for me was to go into the plugin folder and open the META-INF/MANIFEST.MF file and remove the following two lines from the bottom of the file.

org.eclipse.jface.text;bundle-version="3.4.1",
com.adobe.flexbuilder.editors.common;bundle-version="3.0.214193"

This re-enabled the plugin for me. Great!

Another little tip with working with snippets and workspaces:
when switching workspaces you lose all your snippets as they are kept in the workspaces .metadata/.plugins/org.cfeclipse.cfml/snippets
this folder is recreated for each new workspace you create. So what i do is keep a global snippets folder in my main workspace and simply replace the snippets folder in my other workspaces with a simlink to the main one. That way when ever i add a new snippet it is shared across all my workspaces.

just a little side note:: if you don't know how to show hidden files in mac osx. type the following into the terminal and then restart finder.

defaults write com.apple.Finder AppleShowAllFIles TRUE

To turn it off set it to false. You also need to restart Finder for it to take effect.
Also if you don't know how to create the simlink you simple go into the terminal, navigate to your workspace then .metadata>.plugins>org.cfeclipse.cfml delete the snippets folder that is in there and then type
ln -s PATH TO YOUR WORKSPACE WHERE YOU KEEP YOUR MAIN SNIPPET FOLDER/snippets Snippets

This should then put a simlink inside your workspace and you can then share your snippets across all your workspaces instead of having to copy them into each.

1 Comment »

  1. Hey im using flash Builder beta 2, but can’t get this to work, have you updated this to work with beta 2?

    Comment by Dino Petrone — October 24, 2009 @ 1:09 am

RSS feed for comments on this post. | TrackBack URI

Leave a comment

XHTML ( You can use these tags): <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> .