Specifying an Extension for a Text File

See Also

When you create a new text file, you can specify an extension for that file in the New wizard.

To specify a file extension for a text file:

  1. Choose File and choose New.
  2. Expand Other and select Text File. Click Next.
  3. In the Target Location page of the wizard, type a name for the file. Do not include the extension. Then click Next.
  4. In the Choose Extension page of the wizard, select an extension from the combo box. You can also type an extension in the Extension field.

You can also specify how the IDE treats files with a given extension. For example, if you are using XML files that do not have the standard .xml extension, you can set the IDE to treat them like XML files. For more information, see Adding a File Extension to an Object Type.

See Also
Displaying File Extensions
Treating a File as a Text File
Filesystems Window

Legal Notices