Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Web Tools Guide
Previous Page Home Next Page

Associating editors with additional files types

You can associate certain editors with a file type by clicking on Window > Preferences > General > Editors > File Association and setting up the associations in the File Associations Window.

Some Eclipse-based editors, however, will only recognize a file based on the contents of the file. Consequently, if you want to associate an additional file type with some editors, you may have to first map the content type with its file extension. To map a content type with a file extension, complete the following steps:

  1. Click Window > General > Content Types . The Content Type window appears.
  2. Select a content type in the Content Type window, and then select Add . The Define a New File Type window appears.
  3. Type the name of the file type, and then click OK.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire