简体   繁体   English

我可以将我的plugin.xml文件的一部分分成多个Eclipse插件的xml文件吗?

[英]Can I separate portions of my plugin.xml file into multiple xml files for an Eclipse plugin?

I have created an eclipse plugin, with a plugin.xml file. 我创建了一个带有plugin.xml文件的eclipse插件。 I have created an extension to the org.eclipse.wst.common.snippets.SnippetContributions extension point. 我已经创建了org.eclipse.wst.common.snippets.SnippetContributions扩展点的扩展。 The xml contents of this extension point has gotten really big. 这个扩展点的xml内容已经变得很大。 Is there a way that I can move the contents of my snippets extension to a separate file? 有没有办法将片段摘要的内容移动到单独的文件中? Something like this: 像这样:

In plugin.xml: 在plugin.xml中:

<extension point="org.eclipse.wst.common.snippets.SnippetContributions" file="snippets.xml"></extenstion>

and in snippets.xml: 并在snippets.xml中:

<category ....>
    <item..../item>
</category>...

不幸的是,这是不可能的。

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

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