Is there a way to force Eclipse to open in the default perspective?

前端 未结 3 1776
無奈伤痛
無奈伤痛 2021-01-02 15:11

Problem:

Whenever I start Eclipse (3.5.2 Galileo) it always opens in the previous perspective I was using. I want it to ALWAYS open in the default perspective, but

3条回答
  •  耶瑟儿~
    2021-01-02 16:14

    Run this script before running eclipse:

    perl -p0777i.bak -e "s/activePerspective=\"[^\"]*\"/activePerspective=\"org.eclipse.jst.j2ee.J2EEPerspective\"/g" ~/workspace/.metadata/.plugins/org.eclipse.ui.workbench/workbench.xml
    

提交回复
热议问题