Eclipse - Setting the default perspective via config.ini

less than 1 minute read

A quick tip for the Eclipse IDE (and also useful for Eclipse RCP). You can use the “config.ini” (in your Eclipse installation folder) to define a perspective.

For example the following in config.ini will set the default perspective to the resource perspective.

-perspective org.eclipse.ui.resourcePerspective

Make sure to add this before the JVM options.

For find the perspective ID you can use the Plugin menu spy.

You find all possible startup parameters listed The Eclipse runtime options

Hope this helps.