[jbosstools-issues] [JBoss JIRA] (JBIDE-9872) Html editor should be able to show html files even though they don't end in .html

Viacheslav Kabanovich (Commented) (JIRA) jira-events at lists.jboss.org
Wed Oct 12 17:29:16 EDT 2011


    [ https://issues.jboss.org/browse/JBIDE-9872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12634316#comment-12634316 ] 

Viacheslav Kabanovich commented on JBIDE-9872:
----------------------------------------------

JavaScript Editor is actually CompilationUnitEditor, that is Java Editor. It is cool, indeed. But WTP's HTML editor refuses to show a file with unknown extension, because it cannot create the structured model for it. Our JSP text editor extends WTP's structured test editor, so that it cannot obtain the structured model, either.
                
> Html editor should be able to show html files even though they don't end in .html
> ---------------------------------------------------------------------------------
>
>                 Key: JBIDE-9872
>                 URL: https://issues.jboss.org/browse/JBIDE-9872
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: jsp/jsf/xml source editing
>            Reporter: Max Rydahl Andersen
>            Assignee: Alexey Kazakov
>             Fix For: 3.3.0.M4, 3.3.0.Beta1
>
>
> take a working index.html and rename it to index.php and suddenly the editor don't want to show it complaining about non matching content type.
> rename back to .html and it works fine.
> Can't we make the editor accept content without having it registered as supporter of the identified content type?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list