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?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
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