我在eclipse中开发了一个简单的小抄。
现在,我想在eclipse中安装cheat sheet插件。
有人能帮我吗?
发布于 2010-03-25 14:55:53
如果您已经按照Eclipse help中的描述开发了一个cheat sheet插件,并且具有如下正确的扩展点:
<extension point="org.eclipse.ui.cheatsheets.cheatSheetContent">
<cheatsheet
name="%cheatsheet.helloworld.name"
contentFile="$nl$/cheatsheets/HelloWorld.xml"
id="org.eclipse.jdt.helloworld">
<description>%cheatsheet.helloworld.desc</description>
</cheatsheet>,然后您可以启动并测试您的插件in another instance of Eclipse。
Run > Run As > Run-time Workbench这称为自托管
测试完成后,您需要将其部署到您自己的Eclipse实例中。请参阅PDE UI FAQ
要在主机中测试代码,您需要导出并安装到正在运行的
实例中。
要导出插件和特性并将其安装到主机Eclipse中,请执行以下操作:
在workspace
File > Export... > Plug-in Development > Deployable plug-ins and fragments中的最后一个选项安装到主机。存储库。然后选择一个目录以在您的插件将在重启后安装并运行。
您可以使用About对话框中的Installation Details按钮查看已安装的内容(可转至Help > About Eclipse SDK)
https://stackoverflow.com/questions/2513500
复制相似问题