{ Akbarsait NoorMohamed }

ColdFusion Builder: New CFM and CFC File Settings

Dec 18, 2009
     #cfbuilder   #coldfusion   #web  
1 minute

ColdFusion Builder provides a new option to set default contents in the newly created cfm/cfc files. These features are helpful to capture some regular code blocks.

We can use this feature by placing the contents at ColdFusion Editor Section.

Open Preferences > ColdFusion > Editor Profiles > Editor

CFBuilder Tip:New CFM And CFC File Settings

<!---
Created by	:
Date		:
Purpose		:
--->
<!DOCTYPE "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html>
<head>
	<title>Untitled</title>
</head>

<body>

</body>
</html>

I have defined my default CFM file name and I placed the above code in “Initial CFM Content section” which we normally used in many CFM display pages and you can also set your frequently used contents in this section. This feature is applicable for CFC files as well. Do you think this feature is helpful? For me this is really a handy feature. ColdFusion Builder Rocks!

Comments

John Sieber on 2009-12-18
I think it is a great feature and not sure I would have noticed it if not for your post. I'm looking forward to trying it out. A simple but useful time saver.

Ben Nadel on 2009-12-18
Oh very cool!

Steve Bryant on 2009-12-18
That is really nice! I hadn't seen that, but I just put in my defaults. Thanks!

Akbarsait on 2009-12-18
@John Sieber Totally agree and sure it will save a good time always :-) @Ben Nadel Yes Sir! @Steve Bryant Glad you like that feature.

Naveen Krishnamurthy on 2009-12-20
Great Detail...

Ganesh Srinivasan on 2009-12-20
Superb Feature. Akbar, I think for the FuseDocs we use in the cfm, cfc pages know, we can actually store all those contents using this, so that we need not retype again and again.

Ajith on 2009-12-20
This is a great help for every cf developer..thnx for sharing this.... :-)

Akbarsait on 2009-12-21
@Naveen, Glad you find it useful Naveen. @Ganesh, Yes. This will save more time. :-) @Ajith, Glad to help Ajith.

(Comments migrated from previous blog engine.)