Adobe ColdFusion Builder - File encoding support

Author: sandeepp  |  Category: ColdFusion Builder, Preferences  |  Comments (0)  |  Add Comment

Adobe ColdFusion Builder by default treats CFML file content as UTF-8 encoded. So when you look at properties of cfm file and it will show encoding as default UTF-8 (determined by content).

This post tells you how to configure Adobe ColdFusion builder to support different file encoding. This is useful when you have CFML files which have encoding other than UTF-8.

So here are the steps -

1) Navigate to preferences->General->Content types page

2) On this page expand Text node and select CFML source file.

3) Once selected, default encoding text field will show “UTF-8″ as default encoding for CFML content.

4) Change this to any desired encoding type and click update button next to this field.

5) Click OK.

6) Reopen file in editor.

Following is screen shot of how to change this preference setting-

Encoding preference

Now file properties will show files encoding as set by user, and file content will be shown properly in editor based on set encoding.

Some useful Keyboard shortcuts

Author: sandeepp  |  Category: ColdFusion Builder, Preferences  |  Comment (1)  |  Add Comment

Here are few useful editor shortcuts when using ColdFusion Builder

  • Toggle between source and preview tabs
              Press Ctrl+Page Down to navigate to next tab
               (eg. from source to preview)
              Press Ctrl+Page up to navigate to previous tab
              (eg. from preview to source)
  • To navigate between all open documents in editor
             Press Ctrl+F6. Keep Keys pressed and select any open file with
             arrow keys or using mouse.
            Or alternatively Press Ctrl+E to get drop down list of open files
            to select from. If this list is too big, you can just type first
            few letters of file name and the list will get filtered automatically.
  • To quick select any currently open View
           Press Ctrl + F7. Keep keys pressed and select available views through
           arrow keys or using mouse.
  • Quick Outline view
           Press Ctrl+O to get quick outline view for cuttently open document.

At any time you want to change these default keys, you can do this via Preferences->General->Keys preference page.