Setting default perspective in Eclipse for plugin development

时间秒杀一切 提交于 2019-12-23 03:22:45

问题


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


来源:https://stackoverflow.com/questions/22868050/setting-default-perspective-in-eclipse-for-plugin-development

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!