Home | Blog | Twitter @AndyJ | Contact Me | Snippets/Downloads | RSS

Snippets in CFEclipse

Snippets in CFEclipse (or any IDE) are just a handy feature. But whats even better are the snippet variables. These are a pre-set, built-in list of system available variables available to the snippet.

   view plainprintabout
 $${DATE}
 $${MONTH}
 $${TIME}
 $${DATETIME}
 $${DAYOFWEEK}
 $${CURRENTFILE} - Current file name (just the file)
 $${CURRENTFOLDER} - Current folder (The path to the containing folder)
 $${CURRENTPATH} - Current path (full file name)
 $${CURRENTPRJPATH} - Just the folder
10  $${USERNAME} - Current user
11  $${MONTHNUMBER} - Month as a number
12  $${DAYOFMONTH} - Day of month as a number
13  $${DAYOFWEEKNUMBER} - Day of week (the week starts on Sunday)
14  $${DATETIME24} - DateTime24 - a 24 hour clock version of datetime.
15  $${YEAR} - Current year.
16  $${YEAR2DIGIT} - Current two digit year.
If you've only just started using CFE, or snippets check out the CFEclipse.org site for more information.

Related Blog Entries

TweetBacks
Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
BlogCFC / created by Raymond Camden / running version 5.9.5.003 / Contact AndyJarrett.com / Pet Rescue SOS www.redgiraffes.co.uk