When I try to view HTML files (e.g. a.xhtml) in my project they are launched in the browser instead of the Eclipse editor.
How should I fix this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you want only to open the file with the Eclipse editor a single time, then right-click the file, and select Open with with the correct editor.
However, if you want to define file associations for Eclipse on a global level, open Preferences, select General/Editors/File associations tab, and assign the corresponding editor the extension (or reorder the already assigned editors).