我从我的插件角度来看这个。我得到一个 generic
菜单而不是特定项目,例如action
等
(来源:sourceforge.net)
我的“首选项/插件开发/目标平台”看起来像:
(来源:sourceforge.net)
最佳答案
这是否类似于this thread ?
I just figured out what was the problem.
I was using an external target platform to run my plugins, where I had installed only the basic plugins. After I installed the sourcesorg.eclipse.platform.source_2.1.0
andorg.eclipse.platform.win32.source_2.1.0
also on the target platform, the manifest editor in the PDE was working normal again.
(适应你的Eclipse版本)
也在这个more recent thread中确认:
Your target platform (and the default will be your own eclipse install) needs to have the source bundles (which provide the schema files used by these menus).
i.e. if I installed the runtime version, I will only get Generic in the menus but if I install the SDK version I will get real elements.
非常感谢您的回答。
我将源文件“添加”到平台(Preferences/Plugin development/Target platform
)并获得所有菜单!!
关于java - eclipse 插件环境中缺少模式,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2785333/