简体   繁体   English

eclipse 如何将 *.xml.vm 识别为 xml 扩展名?

[英]how eclipse recognize *.xml.vm as xml extension?

Difference this区别这个

Make Eclipse recognize unknown file extension as xml使 Eclipse 将未知文件扩展名识别为 xml

I have velocity files based on XML, I want open them as XML file.我有基于 XML 的速度文件,我想将它们作为 XML 文件打开。 In

Window -> Preferences -> General -> Editor -> File Associations

I cannot add *.xml.vm to file types tab, how to solve this?我无法将*.xml.vm添加到文件类型选项卡,如何解决?

.xml.vm isn't a valid filename extension. .xml.vm不是有效的文件扩展名。 .vm would be. .vm会。 And use the Content Types preference page, not File Associations , as the FAQ says.并使用Content Types首选项页面,而不是File Associations ,如常见问题解答所述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM