Snip Tree View

The Snip Tree View allows users to organise code snippets that can be used in the CFEclipse Editor.

System Snippet Variables

  • $${DATE} - Enters the date as MM/DD/YYYY E.g. 11/30/2007
  • $${MONTH} - Enters the month as text E.g. February
  • $${TIME} - E.g.: 7:29:58 AM
  • $${DATETIME} - E.g.: 2/9/2007 7:29:58 AM
  • $${DAYOFWEEK} - E.g.: Friday
  • $${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
  • $${USERNAME} - Current user
  • $${MONTHNUMBER} - Month as a number
  • $${DAYOFMONTH} - Day of month as a number
  • $${DAYOFWEEKNUMBER} - Day of week (the week starts on Sunday)
  • $${DATETIME24} - DateTime?24 - a 24 hour clock version of datetime.
  • $${YEAR} - Current year.
  • $${YEAR2DIGIT} - Current two digit year.

Snippet Examples:

System variables

<!--- 
	name: $${USERNAME}
	date: $${DATE}
	description: $${description}
--->

Optional Values

<cfset $${scope:variables.|this.}$${var} = $${value:""|0}>

Wrapping and File Template

<html>
	<head>
		<title>$${title}</title>
	</head>
<body>

</body>
</html>