在Eclipse中设置插件开发的默认视角 [英] Setting default perspective in Eclipse for plugin development

查看:203
本文介绍了在Eclipse中设置插件开发的默认视角的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为Eclipse创建一些插件,我已经选择了另一个Eclipse安装目标平台,当我运行插件时,它成功启动Eclipse实例,但始终在资源透视图,任何人都知道如何在启动另一个被选为目标平台的Eclipse实例时指定例如 Java EE 透视图?

解决方案

您可以在目标平台 plugins / p>中的 plugin_customization.ini 文件中设置默认透视图, org.eclipse.sdk (或者它可能是 plugins / org.eclipse.platform ,具体取决于您的启动配置)。添加行:

  org.eclipse.ui / defaultPerspectiveId =透视图
/ pre>

I'm creating some plugins for Eclipse, and I have selected as Target Platform another Eclipse installation, when I run the plugin it launch the Eclipse instance successfully but it always is opened on the Resources perspective, anyone knows how to specify the default for example Java EE perspective when launching another instance of Eclipse selected as target platform?

解决方案

You can set the default perspective in the plugin_customization.ini file in the target platform plugins/org.eclipse.sdk (or it might be plugins/org.eclipse.platform depending on your launch configuration). Add the line:

org.eclipse.ui/defaultPerspectiveId=perspective id

这篇关于在Eclipse中设置插件开发的默认视角的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆