How can I open .tcl extension files in the Editor window?

In order to open .tcl extension files in the Editor window, a File Association needs to be created. To create a File Association, follow steps below:

  1. From the CodeWarrior toolbar, select Window > Preferences.

    The Preferences dialog box appears.

  2. Select General > Editors > File Associations.

    The File Associations preferences appear on the right hand side.

  3. Select File Associations.

    The File Associations pane appears.

    Figure 1. Preferences Dialog Box - File Association

    Preferences Dialog Box - File Association

  4. Click Add.

    The New File Type dialog box appears.

  5. In the File Type textbox, enter .tcl.
  6. Click OK.

    The .tcl extension appears under File Types .

  7. Under Associated editors pane, Click Add.

    The Editor Selection dialog box appears.

    Figure 2. Editor Selection Dialog Box

    Editor Selection Dialog Box

  8. Click OK.

    The .tcl extension file types get associated with a Text Editor (as the following figure shows).

    Figure 3. Preferences Dialog Box - File Association

    Preferences Dialog Box - File Association

  9. Click OK.

You can now open the tcl extension files in the Editor window.