- This topic has 9 replies, 2 voices, and was last updated 19 years, 4 months ago by
Riyad Kalla.
-
AuthorPosts
-
Marcus BeyerMember.jsp files are associated with the JSP designer. fine.
.tag files are associated with the JSP designer. fine..jspf files (JSP fragments) are associated with the JSP designer. fine.
.tagf files (tag fragments) are not associated with the JSP designer. bad.And if force a .tagf file to be openend with the JSP designer (or with the “classic JSP editor”), it reports strange problems like tag not closing on line
<%@ tag language="java" pageEncoding="UTF-8" %>
And I get strange colors (wrong syntax highlighting) on the code …
Can I do something about this? I think it’s an ugly workaround to rename all my .tagf files to .jspf …
February 28, 2006 at 9:48 pm #247501
Riyad KallaMemberWhat you need to do is navigate to Window > Prefs > General > Content Types > Text > MyEclipse JSP Content Types > click Add and add *.tagf, hit OK and reopen your file. You should be cooking with oil.
March 1, 2006 at 2:43 am #247512
Marcus BeyerMemberGreat! Thank you!
But why is “Default encoding” ISO-8859-1 and not equal to the setting in Window > Prefs > General > Editors > Text file encoding? (in my case UTF-8)
March 1, 2006 at 8:33 am #247521
Riyad KallaMemberNot sure, it might be set by the plugin, I’ll check.
March 6, 2006 at 9:43 am #247800
Marcus BeyerMember@support-rkalla wrote:
Not sure, it might be set by the plugin, I’ll check.
What did you find out?
Even worse, the setting that I did (“UTF-8” is ignored! The properties of my JSP files say “Default (determined from content: ISO-8859-1), even if I create new ones. Tag files the same.
Please help!
March 6, 2006 at 9:46 am #247801
Riyad KallaMemberUse the pageEncoding attribute:
<%@ page pageEncoding=”UTF-8″ %>
at the top of your page
March 6, 2006 at 10:28 am #247803
Marcus BeyerMemberThank you. I see. The problem is: This does not work for .tag and .tagf. There you have:
<%@ tag language=”java” pageEncoding=”UTF-8″ %>
And this is obviously not parsed by MyEclipse 🙁
March 6, 2006 at 11:15 am #247810
Riyad KallaMemberRight, support for this hasn’t been added yet. We appologize for the issue, I have filed this as a bug.
March 7, 2006 at 2:21 am #247839
Marcus BeyerMemberah. Where can I find the bug report?
March 7, 2006 at 6:35 am #247853
Riyad KallaMemberWe track our bugs privately because we don’t use the bug tracker only for MyEclipse, there are other TODO items in it. You can usually just check the release notes, we itemize most of the bugs fixed in each release there.
-
AuthorPosts