Home > Back-end >  Eclipse product set default perspective
Eclipse product set default perspective

Time:10-12

I'm creating Eclipse product and would like to set my own perspective by default opening after workspace launching. I saw that it can be solved via setting this parameter:

-perspective ID

but I can't understand where to set this parameter. I tried to set it into VM arguments and to Program Arguments, but it didn't help me at all. I saw these questions on the SO : 1, 2, 3, article_1 and article_2. Maybe I did smth wrong? But I still can't find any solution for this problem.

CodePudding user response:

-perspective <id> should work in Program Arguments, but the recommended way to set the default perspective is via the plugin_customization.ini file with

org.eclipse.ui/defaultPerspectiveId=...

See for example, how it is done in the Java IDE package.

  • Related