在Eclipse中设置插件开发的默认视角 [英] Setting default perspective in Eclipse for plugin development
问题描述
您可以在目标平台 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 platformplugins/org.eclipse.sdk
(or it might beplugins/org.eclipse.platform
depending on your launch configuration). Add the line:org.eclipse.ui/defaultPerspectiveId=perspective id
这篇关于在Eclipse中设置插件开发的默认视角的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!