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.
1$${DATE}
2$${MONTH}
3$${TIME}
4$${DATETIME}
5$${DAYOFWEEK}
6$${CURRENTFILE} - Current file name (just the file)
7$${CURRENTFOLDER} - Current folder (The path to the containing folder)
8$${CURRENTPATH} - Current path (full file name)
9$${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.
2$${MONTH}
3$${TIME}
4$${DATETIME}
5$${DAYOFWEEK}
6$${CURRENTFILE} - Current file name (just the file)
7$${CURRENTFOLDER} - Current folder (The path to the containing folder)
8$${CURRENTPATH} - Current path (full file name)
9$${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.
| Tweet |
| If you like what you see on the website and/or this post has helped you out in some way please consider donating to help keep me in beer vodka. The donations are made through Paypal, which accepts almost any credit card or eCheck. |