我正在尝试使用包含 Web 开发人员工具的 Eclipse Ganymedes 版本 3.4.1 编辑 phpbb HTML 模板文件。
这些模板文件包含带有模板变量标记的 HTML 标记,格式为 { variable_name }。现在,当尝试打开此类文件时,Eclipse 也会尝试验证这些模板变量标记。
例如模板包含
<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
打开 Eclipse 后在编辑器主体上显示:
Unsupported Character Body
Character encoding "{S_CONTENT_ENCODING}" is not supported by this platform.
<button>Set encoding...</button>
如何使用 WTP 解决这个问题,或者有没有更好的模板编辑器?