Posts in Category "Uncategorized"

Where ColdFusion Builder finds my CFCs?

ColdFusion Builder makes working with components really easy. It understands the component resolution technique and generates the fully qualified name of the components, in compliance with server. The fully qualified names of the component are available in multiple places in ColdFusion Builder:

  • CFC wizard: When extending or implementing component, fully qualified name of the components are listed in CFC dialog box.
  • Content Assist: When content assist is invoked for component name, the fully qualified name of the component is proposed to you.
  • Open CFC wizard: Lists all the components in workspace with fully qualified names.

ColdFusion Builder also resolves the components in a given page by checking the component that can be resolved with available details in the project and the server.

Source/Location of the component

ColdFusion Builder searches the source/location of component in the following order of priority:

  1. ColdFusion Administrator mapping: ColdFusion Builder reads the mapping details from the server and uses the mapping name and location to build the fully qualified name.
  2. Note: ColdFusion Builder reads the mapping from the server only if RDS details are provided for the server. Project should be associated with server to see the qualified names of the component in the mapping location.

  3. ColdFusion Server Document root: If document root of the server is provided, then ColdFusion Builder generates the fully qualified names of the components.
  4. Note: Project should be associated with the server to see the qualified name of component from webroot.

  5. Current Project: Components in current project are available with fully qualified name.
  6. Linked Folders: Components in linked folders are available with fully qualified name.
  7. Note: When you create a linked folder with ColdFusion Builder using the Project Wizard or Project Property preferences, check the option Use Link folder name. If you use Eclipse, the option is checked by default.

    If the option is checked, component qualified name is generated by prefixing the name of the linked folder of the components inside the linked folder.

    For example, C:\MyCFCs\folder1\sample.cfc where MyCFCs is the name of linked folder is resolved as mycfcs.folder1.sample.

  8. Custom tag path: ColdFusion Builder reads the custom tag path details from the server and uses the tag path location to build the fully qualified name.

Note: ColdFusion Builder reads the custom tag location from server only if RDS details are provided for the server. Project should be associated with server to see the qualified names of the component in the custom tag location.

Creating qualified name for the components

ColdFusion Builder creates qualified names of the components from different location as discussed in the previous section. You have the option to create qualified names when you launch ColdFusion Builder. Locate the option from Preferences > Startup > Build CFC in project, at start-up.

Note: Uncheck this option if you don’t want ColdFusion Builder to create qualified names for you.

Points to remember

  • To see the components from the mappings/ custom tag paths, Build server settings must be checked (Preferences > ColdFusion > Server Settings).
  • If server is offline, old mapping details are used to build CFCs.
  • If server is edited, added, or refreshed, the mapping settings/custom tag paths are refreshed based on option selected in Server Settings section.
  • Based on the server component resolution technique, the components are generated in the following order:
  1. Current directory
  2. ColdFusion administrator mappings
  3. ColdFusion Document root
  4. Relative to project and linked folder
  5. Custom tag path
  • Components are resolved in ColdFusion Builder in the same way as the server resolves the components.
  • Number of features (Code Assist, Quick Fix, Hyperlink, CFC Introspection, and CFC Wizard) depends on building and resolving CFCs in ColdFusion Builder.
  • Keep a tab on options (you have selected in the Preferences) which controls the building and resolving of CFCs.

Now use this information when you build application that deals with hundreds of components and let ColdFusion Builder, not you, worry about your CFCs.

 

ColdFusion Search Vs Eclipse Search

ColdFusion Builder search complements the search capability of eclipse and also includes search capabilities which you did not find in eclipse search. Below table provides comparison between details of options, scopes, feature  ColdFusion search and Eclipse search.

 

Scopes

ColdFusion Builder Search

Eclipse Find/Search

Current Document

Yes

Yes

Open Documents Yes -
Projects Any Project selected from the list Only in enclosing projects
Workingset Yes Yes
Workspace Yes Yes
Local Directory Yes -
FTP Directory Yes -
RDS Directory Yes -
Multi-Line Search Yes -
Selected Lines Yes Yes
Selected Resource Yes Yes
Options
Match case Yes Yes
Match whole word Yes Yes
Search backward Yes Yes
Search Incremental Yes Yes
Use reg-ex Yes Yes
Ignore whitespace Yes -
Wrap search Yes Yes
Other Features
Tag search :- Simply search for tag, or look for tag having some attribute or containing some text.. so on.. 

Perform operations on matching tag like adding/removing attribute, setting content before/after tag, remove / replace tag etc

 

 

Yes

 

 

-

Code preview while replace all on workspace files. Yes -
Showing search result Shows the search result in package view and each nodes are arranged in logical manner with matches at each level. 

Ex: Folder-> Sub Folder 1, Sub Folder2

Shows the result in order it finds. No grouping of search results.
Context search ColdFusion search understands all the contexts in coldfusion perspective. 

For example :- From File Browser when browsing through remote FTP files. Opening the search dialog keeping selection in File browser opens dialog with connection detail, location filled in.

Works only with current file and selection in navigator

 

Continue reading…

Custom comment colorization in CFB

Check Sandeep’s entry in case you have missed it. Here is the link.

Think ColdFusion Builder v.1 and CFEclipse are the same? Think again. – By Adam Lehman

Think ColdFusion Builder v.1 and CFEclipse are the same? Think again.

The first CFB Updater is live! Go, get that fast!

I am sure many of you have been waiting for this for quite some time now. We have news to cheer you up. CFB Updater1 inlcudes hotfixes for some of the bothering usability issues like Editor jump issue for long lines with horizontal scroll, code folding misbehavior, out-of-memory issue for very large projects etc; to call out the high visibility ones. So, Happy CFB-ing once again!
As regards the Updater installation, some points to be noted:

  • This is a critical update and Adobe Updater will download the same and prompt the user for installation
  • AdobeUpdater looks for the updates on a weekly basis (can be set to monthly in Adobe Updater Preferences)
  • CFB updater can be manually invoked via Help -> About Adobe ColdFusion Builder updates
  • CFB will update only the latest installation, say if Standalone is installed and one installs CFB as a plugin then only the plugin installation will be updated.
  • Once the updating process is complete, you need to restart CFB with -clean option

Please refer to the technote for information on issues you might hit upon. It also lists the bug fixes that have gone in –
http://kb2.adobe.com/cps/846/cpsid_84607.html

See you around@NCDevCon!

ncdevcon-250x250-speaking-blk.png
Hope to see some of you at NCDevCon! I would be speaking on the charms of ‘CFBuilder & Mylyn’. The session is on 23rd May, 2:00-3:00pm. Looking forward to participating in a great conference and meeting many of our CFer friends!

Encoding in CFB

ColdFusion Builder now treats all cfml content as UTF-8 encoded by default. This can be changed through preferences to suit the encoding of the file being edited.
Refer to Sandeep’s blog http://sandeepp.org/blog/?p=159 on ‘how to change encoding preference’.
Also, the forum post http://forums.adobe.com/thread/602751?tstart=30 has similar issue answered.

What would you like to see in the next version of ColdFusion Builder?

The Storm (codename for next release of ColdFusion Builder) research survey is live and available at http://www.surveymonkey.com/s/ColdFusionStorm.
Through this survey, we would like to know your feedback on the current version as well as what you think should be the driving features of the next version. Please spend some time to take the survey and help the CFB team move in the right direction while working on the next version.

Adobe Community Help updates

You can find some useful updates on Adobe Community Help Client (CHC) at:
http://blogs.adobe.com/mallika/2010/03/adobe_community_help_client_-_new_and_enhanced_search_refinements.html
http://blogs.adobe.com/mallika/2010/03/adobe_community_help_client_-_dont_forget_to_use_ctrlf.html

The wait is over! Our baby bird has learnt to fly!

Finally… it’s Click->Buy ColdFusion Builder! And do I need to mention that we are super-excited? :)
Yes, the first ever version of ColdFusion Builder (CFB) has hit the online store! As most of you know, CFB is the first ever home grown IDE for ColdFusion(CF) development. It has always come up as the topmost feature/tool request from the community. CFB provides extensive IDE capabilities and makes CF development much more productive. I would like to congratulate all the stakeholders and to thank each and everyone who has helped make this product what it is today. I am sure it has been a very enriching journey for each one of us individually and as a team.
Just want to call out that we have made some major freeze, performance and startup time related fixes since the last available public beta version.
Here are some handy resource pointers:
ColdFusion Builder release notes: www.adobe.com/go/cfbuilder_releasenotes
Getting started with various tasks in ColdFusion Builder: http://help.adobe.com/en_US/ColdFusionBuilder/Using/WSf01dbd23413dda0e3d098bb81213a52da18-7ffd.html
Getting started tutorials and videos: http://www.adobe.com/devnet/coldfusion/?view=gettingstarted
ColdFusion Builder documentation:
http://help.adobe.com/en_US/ColdFusionBuilder/Installing/index.html
http://help.adobe.com/en_US/ColdFusionBuilder/Using/index.html
We would also like to tell you that CFB can henceforth be updated via Help -> Adobe ColdFusion Builder Updates. This will look for any available updates and install the same. Any major fixes will be made available via updates, which means you would have them faster without having to wait for a major version release.