Community
Participate
Working Groups
Build Identifier: 20100917-0705 If I explicitly open a file in the JSP editor, I would expect the file to be treated as JSP contents no matter what the extension (seems to be a valid user case since I am explicitly invoking a chosen editor on the file). In this case, I open a file with an XML extension (that is a valid JSP file) and the Java syntax highlighting, JSP syntax highlighting, and features such as code completion do not work. Reproducible: Always Steps to Reproduce: 1. Take a JSP file and change .jsp extension to .xml 2. Right-click on file in Eclipse and use Open With > JSP Editor 3. File is not treated as JSP contents.
I'm resolving this as a duplicate of Bug 320996 largely because the idea is the same. We're not opening a file with the explicitly chosen editor. It just happens to be the case here that XML has a defined content type. But, the end fix should result in the appropriate solution for this bug as well. *** This bug has been marked as a duplicate of bug 320996 ***