<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-1973750947775262558.post281405878732524552..comments</id><updated>2010-10-20T18:53:46.101-04:00</updated><category term='coldfusion'/><category term='BOF'/><category term='server configuration'/><category term='debugging'/><category term='jenkins'/><category term='SQL Server'/><category term='jira'/><category term='CFUnited'/><category term='Windows'/><category term='Security'/><category term='twicf'/><category term='timesavers'/><category term='MongoDB'/><category term='MAX'/><category term='user group'/><category term='TDD'/><category term='bcrypt'/><category term='BDD'/><category term='start'/><category term='CFUG'/><category term='RIAUnleashed'/><category term='ORM'/><category term='eclipse plugin'/><category term='Under  the Hood'/><category term='MXUnit Videos'/><category term='shortcuts'/><category term='Code Dojo'/><category term='OO Design'/><category term='cfeclipse dictionaries'/><category term='Hudson'/><category term='Humor'/><category term='eclipse'/><category term='Documentation'/><category term='closures'/><category term='announcements'/><category term='facebook'/><category term='launchy'/><category term='mxunit product update'/><category term='Continuous Integration'/><category term='cfml'/><category term='scala'/><category term='ant'/><category term='air'/><category term='java'/><category term='refactoring'/><category term='mylyn'/><category term='mxunit eclipse plugin'/><category term='webservices'/><category term='energy saving tips'/><category term='unit testing testing private methods'/><category term='Presentations'/><category term='Best Practices'/><category term='flex'/><category term='test automation'/><category term='LiveCycle'/><category term='android'/><category term='Learning'/><category term='cfant'/><category term='noise control'/><category term='mobile development'/><category term='drivers'/><category term='flash builder'/><category term='generics'/><category term='twitter'/><category term='cfeclipse'/><category term='testability'/><category term='coldfusion builder'/><category term='unit testing'/><category term='ria'/><category term='fun'/><category term='cfObjective'/><category term='blogging'/><category term='svfug'/><category term='conferences'/><category term='subversion'/><title type='text'>Comments on MXUnit Blog: New in CFEclipse: Templates</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.mxunit.org/feeds/281405878732524552/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1973750947775262558/281405878732524552/comments/default'/><link rel='alternate' type='text/html' href='http://blog.mxunit.org/2009/10/new-in-cfeclipse-templates.html'/><author><name>bill shelton</name><uri>http://www.blogger.com/profile/06624894387927690246</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_R-2JPB8crqk/TIdxkrbeOnI/AAAAAAAAAZw/hHv2ocuuyqA/S220/avatar-twitter-white-bg.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1973750947775262558.post-8197991584296565891</id><published>2009-10-28T20:00:16.449-04:00</published><updated>2009-10-28T20:00:16.449-04:00</updated><title type='text'>Hi Guys!

1) greater variable control. For example...</title><content type='html'>Hi Guys!&lt;br /&gt;&lt;br /&gt;1) greater variable control. For example, if you look in that &amp;quot;insert variable&amp;quot; dropdown, you&amp;#39;ll see stuff you don&amp;#39;t see options like &amp;quot;word_selection&amp;quot; and &amp;quot;line_selection&amp;quot; and &amp;quot;dst&amp;quot; that you don&amp;#39;t get with regular snippets. I believe these are not yet functional but will be useful down the road. I&amp;#39;ll try to get Denny to come on here and explain them.&lt;br /&gt;&lt;br /&gt;==&lt;br /&gt;&lt;br /&gt;I&amp;#39;m thinking that when we add a key binding to the template assist -- something like control+space -- those selection-based options will just magically work.&lt;br /&gt;&lt;br /&gt;Right now you can&amp;#39;t have something selected, and then fire off the template assist, as it&amp;#39;s going off of the current word you&amp;#39;re typing- and if you type something after selecting, it wipes out the selection.&lt;br /&gt;&lt;br /&gt;&amp;quot;dst&amp;quot; is the contextual variable test, basically.  The options that come up there are dynamic-ish-- that&amp;#39;s where the parser would give us some variables, perhaps (as you mentioned the java deal does).&lt;br /&gt;&lt;br /&gt;We can add variables, like the current file name, and we can do things depending on editor context (context == within a cfscript block, or whatever we think of I think)&lt;br /&gt;&lt;br /&gt;==&lt;br /&gt;&lt;br /&gt;2) ability to share via &amp;quot;export&amp;quot; and &amp;quot;import&amp;quot;. Currently, sharing snippets is a manual affair (unless you use ANT to copy them... check out the mxunit/cfeclipse directory in the mxunit download for all the cfe snippets that come bundled with mxunit). But with templates, you could export yours, give them to your friends/team/whomever, and they could easily import them.&lt;br /&gt;&lt;br /&gt;3) Potential for bundling a whole slew of common templates. If you look at the window -- preferences -- java -- Editor -- Templates, check out all the templates that come with Eclipse. I can envision CFEclipse coming bundled with tons of commonly typed chunks of code.&lt;br /&gt;&lt;br /&gt;== &lt;br /&gt;&lt;br /&gt;The SnipEx server stuff is one thing I think is swell about Snippets, and that I&amp;#39;d like to incorporate into the templates somehow.&lt;br /&gt;&lt;br /&gt;You can currently do something similar by creating a plugin that doesn&amp;#39;t have anything besides template XML files, and then using the usual way of updating plugins to update your thusly shared templates.&lt;br /&gt;&lt;br /&gt;I envision a plugin (or multiple plugins perhaps) of templates for the main CFE distro, and eventually adding something more dynamic, like SnipEx.&lt;br /&gt;&lt;br /&gt;Anyways, one cool thing about the template stuff, is that it&amp;#39;s using baked-in Eclipse functionality-- adding the feature was mostly a copy/paste type of deal.  &lt;br /&gt;Meaning less to maintain, and as Eclipse adds features, (hey, maybe something like SnipEx ;]) we&amp;#39;ll be able to ride along.  We should already be able to do something like &amp;quot;new from template&amp;quot; for creating whole files.&lt;br /&gt;&lt;br /&gt;Course, I&amp;#39;m so lazy, I added templates for things like unit tests, so instead of &amp;quot;new from template&amp;quot;, I just create a blank file and then type &amp;quot;mxu{pause}{enter}&amp;quot;.  Heh.&lt;br /&gt;&lt;br /&gt;There&amp;#39;s a freaking *ton* of improvements to be made.  &lt;br /&gt;&lt;br /&gt;I want to add smart insertion/indentation pretty soon, as that&amp;#39;s the most annoying thing to me so far, and then the interaction between the variable assist within templates and the existing variable assist (like for tag attributes) is squirrelly as hell... that&amp;#39;s just talking existing implementation, as feature-wise, there&amp;#39;s just oodles of power left to get out of this stuff (as evidenced by the java editor templates-- imagine that but geared for cfml, basically =]).&lt;br /&gt;&lt;br /&gt;Eh, even as is, I&amp;#39;ve gone the same route you&amp;#39;ve gone, basically-- never remembering snippet keys gradually had me adding more and more templates.&lt;br /&gt;&lt;br /&gt;As an aside: noting this let me to thinking that it would also be pretty cool if we tied (or at least had an option to do so) the snippet assist into the content assist, the way templates are.  God I&amp;#39;m lazy.&lt;br /&gt;&lt;br /&gt;*maniacal giggle*&lt;br /&gt;&lt;br /&gt;Ennywho, I guess that&amp;#39;s that, for now.  Marc, thanks for getting the word out, as it were, in your consistently kick-ass manner, and the chance to contribute to said kick-ass-ness.  :)&lt;br /&gt;&lt;br /&gt;|DeN</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1973750947775262558/281405878732524552/comments/default/8197991584296565891'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1973750947775262558/281405878732524552/comments/default/8197991584296565891'/><link rel='alternate' type='text/html' href='http://blog.mxunit.org/2009/10/new-in-cfeclipse-templates.html?showComment=1256774416449#c8197991584296565891' title=''/><author><name>Denny</name><uri>http://www.blogger.com/profile/05808280986945559706</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.mxunit.org/2009/10/new-in-cfeclipse-templates.html' ref='tag:blogger.com,1999:blog-1973750947775262558.post-281405878732524552' source='http://www.blogger.com/feeds/1973750947775262558/posts/default/281405878732524552' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-417050190'/></entry><entry><id>tag:blogger.com,1999:blog-1973750947775262558.post-3955557060417352346</id><published>2009-10-28T14:14:32.971-04:00</published><updated>2009-10-28T14:14:32.971-04:00</updated><title type='text'>Rob, completely fair question. I think the full po...</title><content type='html'>Rob, completely fair question. I think the full potential of the CFE templates has yet to be realized. This is no doubt a first-stab at it, and I am hoping that when Denny gets more time to flesh out this functionality, they will become even more useful than snippets.&lt;br /&gt;&lt;br /&gt;Here&amp;#39;s what I see so far:&lt;br /&gt;&lt;br /&gt;1) greater variable control. For example, if you look in that &amp;quot;insert variable&amp;quot; dropdown, you&amp;#39;ll see stuff you don&amp;#39;t see options like &amp;quot;word_selection&amp;quot; and &amp;quot;line_selection&amp;quot; and &amp;quot;dst&amp;quot; that you don&amp;#39;t get with regular snippets. I believe these are not yet functional but will be useful down the road. I&amp;#39;ll try to get Denny to come on here and explain them.&lt;br /&gt;&lt;br /&gt;2) ability to share via &amp;quot;export&amp;quot; and &amp;quot;import&amp;quot;. Currently, sharing snippets is a manual affair (unless you use ANT to copy them... check out the mxunit/cfeclipse directory in the mxunit download for all the cfe snippets that come bundled with mxunit). But with templates, you could export yours, give them to your friends/team/whomever, and they could easily import them. &lt;br /&gt;&lt;br /&gt;3) Potential for bundling a whole slew of common templates. If you look at the window -- preferences -- java -- Editor -- Templates, check out all the templates that come with Eclipse. I can envision CFEclipse coming bundled with tons of commonly typed chunks of code. &lt;br /&gt;&lt;br /&gt;For me, this ability to share, and the ability to bundle, are where the potential lies.&lt;br /&gt;&lt;br /&gt;One other out-there possibility is in evaluation of variables already on the page for use in the templates themselves. You get this when editing java, for example, and you declare a variable, then type &amp;quot;for&amp;quot;, and tab through the various templates. It will not just let you type in any old variable name, but give you suggestions based on the variables you&amp;#39;ve declared in your file already.  This is, admittedly, a huge PITA for a dynamic language like CF. Frankly, I wouldn&amp;#39;t bet on this getting in there, particularly since there&amp;#39;s currently a lot of debate going on in the CFE world regarding the state of the parser -- whether to keep it and try to fix it, whether to ditch it, and if so, what to replace it with.  Nonetheless, that&amp;#39;d be a kickass feature of templates that you wouldn&amp;#39;t get with snippets.&lt;br /&gt;&lt;br /&gt;So where do I stand on this? I&amp;#39;m about as addicted to snippets as a guy can get. But the more I use templates, the more I use templates. Know what I mean? &lt;br /&gt;&lt;br /&gt;Here&amp;#39;s one more thing I like: the problem I have with snippets is that classic problem of &amp;quot;too much becomes a problem&amp;quot;. I have many dozens of snippets. I can&amp;#39;t possibly retain all the trigger words in my head. So I inevitably end up popping open the snippets view, hunting down the snippet in question, and then double clicking to insert.&lt;br /&gt;&lt;br /&gt;But with Templates, if I&amp;#39;m at least in the ballpark of the word, then it&amp;#39;ll suggest to me the different templates I have available. &lt;br /&gt;&lt;br /&gt;For example, if I have 6 different templates for &amp;quot;for&amp;quot; loops, I don&amp;#39;t need to remember &amp;quot;hmmm, did I have &amp;quot;forarray&amp;quot; as my snippet trigger? or was it &amp;quot;arrayfor&amp;quot;? or &amp;quot;looparray&amp;quot;?  If I have them in snippets, I just start typing &amp;quot;for&amp;quot;, or maybe &amp;quot;loop&amp;quot;, and i&amp;#39;m going to get popups if they&amp;#39;re in there. So it&amp;#39;s a good noise reducer for me, and I&amp;#39;m all about noise reduction.&lt;br /&gt;&lt;br /&gt;Again, thanks for asking! I&amp;#39;ll see if I can get Denny to give us a better idea of where he&amp;#39;d like to take this feature</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1973750947775262558/281405878732524552/comments/default/3955557060417352346'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1973750947775262558/281405878732524552/comments/default/3955557060417352346'/><link rel='alternate' type='text/html' href='http://blog.mxunit.org/2009/10/new-in-cfeclipse-templates.html?showComment=1256753672971#c3955557060417352346' title=''/><author><name>Marc Esher</name><uri>http://www.blogger.com/profile/05942611191966201181</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.mxunit.org/2009/10/new-in-cfeclipse-templates.html' ref='tag:blogger.com,1999:blog-1973750947775262558.post-281405878732524552' source='http://www.blogger.com/feeds/1973750947775262558/posts/default/281405878732524552' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-260340863'/></entry><entry><id>tag:blogger.com,1999:blog-1973750947775262558.post-4817590569800220627</id><published>2009-10-28T14:06:56.005-04:00</published><updated>2009-10-28T14:06:56.005-04:00</updated><title type='text'>Nice, Marc! Thanks ... This is especially for us *...</title><content type='html'>Nice, Marc! Thanks ... This is especially for us *nix users.  --bill</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1973750947775262558/281405878732524552/comments/default/4817590569800220627'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1973750947775262558/281405878732524552/comments/default/4817590569800220627'/><link rel='alternate' type='text/html' href='http://blog.mxunit.org/2009/10/new-in-cfeclipse-templates.html?showComment=1256753216005#c4817590569800220627' title=''/><author><name>bill shelton</name><uri>http://www.blogger.com/profile/06624894387927690246</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17359140296736057249'/><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_R-2JPB8crqk/SUEE7sNuL1I/AAAAAAAAAGU/-bo1g6-m8fk/S220/che3.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.mxunit.org/2009/10/new-in-cfeclipse-templates.html' ref='tag:blogger.com,1999:blog-1973750947775262558.post-281405878732524552' source='http://www.blogger.com/feeds/1973750947775262558/posts/default/281405878732524552' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1094271333'/></entry><entry><id>tag:blogger.com,1999:blog-1973750947775262558.post-2876774012049914757</id><published>2009-10-28T13:53:06.176-04:00</published><updated>2009-10-28T13:53:06.176-04:00</updated><title type='text'>Don&amp;#39;t misunderstand, I&amp;#39;m not trying to dow...</title><content type='html'>Don&amp;#39;t misunderstand, I&amp;#39;m not trying to downplay this. It just sounds like pretty much what snippets give you with only a few modifications in how the same thing is accomplished. I just wanted to make sure I wasn&amp;#39;t missing something.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1973750947775262558/281405878732524552/comments/default/2876774012049914757'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1973750947775262558/281405878732524552/comments/default/2876774012049914757'/><link rel='alternate' type='text/html' href='http://blog.mxunit.org/2009/10/new-in-cfeclipse-templates.html?showComment=1256752386176#c2876774012049914757' title=''/><author><name>Rob</name><uri>http://www.barthle.com/</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.mxunit.org/2009/10/new-in-cfeclipse-templates.html' ref='tag:blogger.com,1999:blog-1973750947775262558.post-281405878732524552' source='http://www.blogger.com/feeds/1973750947775262558/posts/default/281405878732524552' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1907532870'/></entry><entry><id>tag:blogger.com,1999:blog-1973750947775262558.post-6228039520971927564</id><published>2009-10-28T13:05:24.181-04:00</published><updated>2009-10-28T13:05:24.181-04:00</updated><title type='text'>SCHWING!

I never got into snippets. Not that ther...</title><content type='html'>SCHWING!&lt;br /&gt;&lt;br /&gt;I never got into snippets. Not that there&amp;#39;s anything wrong if you prefer them--java editor templates feel a lot better to me. &lt;br /&gt;&lt;br /&gt;It&amp;#39;s fantastic that both are supported.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1973750947775262558/281405878732524552/comments/default/6228039520971927564'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1973750947775262558/281405878732524552/comments/default/6228039520971927564'/><link rel='alternate' type='text/html' href='http://blog.mxunit.org/2009/10/new-in-cfeclipse-templates.html?showComment=1256749524181#c6228039520971927564' title=''/><author><name>hodgepodge</name><uri>http://www.blogger.com/profile/03216703813804811195</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.mxunit.org/2009/10/new-in-cfeclipse-templates.html' ref='tag:blogger.com,1999:blog-1973750947775262558.post-281405878732524552' source='http://www.blogger.com/feeds/1973750947775262558/posts/default/281405878732524552' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2036195415'/></entry><entry><id>tag:blogger.com,1999:blog-1973750947775262558.post-7434723843633627463</id><published>2009-10-28T12:05:08.168-04:00</published><updated>2009-10-28T12:05:08.168-04:00</updated><title type='text'>This is nice, but what am I missing here that alre...</title><content type='html'>This is nice, but what am I missing here that already is not available for us in using the Snip Tree view in Eclipse?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1973750947775262558/281405878732524552/comments/default/7434723843633627463'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1973750947775262558/281405878732524552/comments/default/7434723843633627463'/><link rel='alternate' type='text/html' href='http://blog.mxunit.org/2009/10/new-in-cfeclipse-templates.html?showComment=1256745908168#c7434723843633627463' title=''/><author><name>Rob</name><uri>http://www.barthle.com/</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.mxunit.org/2009/10/new-in-cfeclipse-templates.html' ref='tag:blogger.com,1999:blog-1973750947775262558.post-281405878732524552' source='http://www.blogger.com/feeds/1973750947775262558/posts/default/281405878732524552' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1907532870'/></entry></feed>
