After creating a rough guide to Ajax Snippets video it brought a few things to light, one thing was the awkwardness of having to define callback functions in a SnippetCallback and then having to write them out in the page that hosts the snippet.
I added a feature that allows the developer to select an option from the SnippetCallback controls action list that will copy some javascript function stubs into the clipboard based on the controls settings.
The relay snippets example will copy the following into the clipboard
[code:js]
function beforeRelayFields(){
}
function relayFieldsSuccess(result){
}
function relayFieldsFailed(error){
}
[/code]
This may have been an overkill feature but still its good for forgetful people like me that could do with some extra help.