How to add a new file type

February 26th, 2009 by HTML-Kit Support      Tags: HTML-Kit 292, FAQ       Views: 4162
VN:F [1.7.3_972]
Rating: 0.0/5 (0 votes cast)
 

Want to add a new file type, or a file type that already exists but with a new file extension? You can add new text file types to HTML-Kit 292 with these steps:

  1. Select "Edit | Preferences" from the main menu.
  2. Change to the "File Types" tab.
  3. Click "Colorized File Types"
  4. List the new file extension in the appropriate field. For example, if your new file extension is "tpl" (*.tpl), and if you’d like it to be colorized as a HTML file, add ";tpl" (without quotes) to the end of the "HTML, XML" field.
  5. Click "OK" followed by another "OK" to save preferences.

You can now open *.tpl files from the Workspace and view them with HTML syntax highlighting.

If you’d like the new file type to be listed on Open and Save dialogs:

  1. Select "Edit | Preferences" from the main menu.
  2. Change to the "File Types" tab.
  3. Select the "USER" file and click "Add File Type."
  4. Enter a description for the file type. For example, if you’re adding *.tpl, enter "TPL Files" and click "OK."
  5. In the "Edit File Type Extensions" field, enter one or more file masks for the new file type. If you’re following our "tpl" example, enter "*.tpl" (without quotes). To match *.tpl and *.tpl2, enter "*.tpl;*.tpl2″
  6. Click "OK" to save preferences.

Your new file type will be listed on "File > Open," "File > Save" and similar dialog boxes.

Was this article helpful?
This did not answer my questionThis answered my question (+6 rating, 6 votes)
Loading ... Loading ...
Share this on:
  • Twitter
  • Digg
  • StumbleUpon
  • Facebook
  • MySpace
  • del.icio.us
  • Sphinn
  • LinkedIn
  • Google Bookmarks
  • Live
  • Yahoo! Buzz
  • email
  • Print
 
Do you have a question that requires a reply? Please post it here for a timely and friendly reply.
 
If you have a comment, you can post it below. Not all comments are read, so be sure to use the support forum instead if you need an answer.
 
Leave a Comment or use the support forum if you have a question.

 

© 2009 HTML-Kit.com. All Rights Reserved.  |  Privacy Statement   
HTML design aid