Skip to content

Instantly share code, notes, and snippets.

@sengertwd
Created January 16, 2014 22:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sengertwd/8464517 to your computer and use it in GitHub Desktop.
Save sengertwd/8464517 to your computer and use it in GitHub Desktop.
Allows you to quickly get a cfreturn from a cold fusion function Instuctions: * Put snippent in snippets * type "cfreturn-ajax" * press tab
<snippet>
<content><![CDATA[
<cfreturn '{"statuscode":"${1}","statustext":"${2}"}' />
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>cfreturn-ajax</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment