Community
Participate
Working Groups
Build Identifier: 20100617-1415 Where I work, template files use the extension .html.smarty I would like to associate that with the HTML editor (as no Smarty editor exists), but Preferences => General => Editors => File Associations won't let me add "*.html.smarty". The Content Types page lets me add that to Text => HTML, but the files don't open in the html editor. Reproducible: Always Steps to Reproduce: See details. Can't associate html editor with *.html.smarty files
Same issue here - I'd like to associate *.hbm.xml files with the Hibernate 3.0 XML Editor. When I got no love from Preferences...File Associations, I tried exporting and re-importing a preferences file, where I hand-edited both the extension and name attributes in the (truncated) following line: /instance/org.eclipse.ui.workbench/resourcetypes=<?xml version\="1.0" encoding\="UTF-8"?>\r\n<editors version\="3.1">[...]\r\n<info extension\="hbm.xml" name\="*">\r\n<editor id\="org.jboss.tools.hibernate.ui.xml.editor.Hibernate3CompoundEditor"/>\r\n<defaultEditor id\="org.jboss.tools.hibernate.ui.xml.editor.Hibernate3CompoundEditor"/>\r\n</info>\r\n[...]</editors> I tried the following attribute value combinations: extension\="xml" name\="*hbm" extension\="xml" name\="*.hbm" extension\="hbm.xml" name\="*" With this I was able to get entries to show up in the Preferences dialog, but not actually work. Bug 168573 (VERY old :( ) is a duplicate of this bug, and Bug 142426 is strongly related (and also demonstrated above).
*** This bug has been marked as a duplicate of bug 168573 ***